chiark / gitweb /
man: mention docker as type of virtualization
[elogind.git] / src / shared / util.c
index 30b0364b64cb7e0edf3d7803a7322ac0d758fdb7..bbd9bd11d6515205fd59d3d5f4120e6a099e335e 100644 (file)
@@ -3273,7 +3273,7 @@ unsigned columns(void) {
         c = 0;
         e = getenv("COLUMNS");
         if (e)
-                safe_atoi(e, &c);
+                (void) safe_atoi(e, &c);
 
         if (c <= 0)
                 c = fd_columns(STDOUT_FILENO);
@@ -3307,7 +3307,7 @@ unsigned lines(void) {
         l = 0;
         e = getenv("LINES");
         if (e)
-                safe_atou(e, &l);
+                (void) safe_atou(e, &l);
 
         if (l <= 0)
                 l = fd_lines(STDOUT_FILENO);