]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/blobdiff - src/trackfds.h
constants.h: Use "\033" instead of the non-standard "\e".
[coloredstderr/coloredstderr.git] / src / trackfds.h
index 4571b2c9448fdc9d19aded63e222a10c8511c2e3..8237781580d4e32266d11dccce3c7139c4866e97 100644 (file)
@@ -76,7 +76,7 @@ static void init_from_environment(void) {
 #ifdef DEBUG
     debug("init_from_environment()\t\t[%d]\n", getpid());
 #endif
-    const char *env;
+    char const *env;
 
     initialized = 1;
     tracked_fds_list_count = 0;
@@ -135,7 +135,6 @@ static void init_from_environment(void) {
                  * elements doesn't hurt. */
                 if (!init_tracked_fds_list(count)) {
                     /* Couldn't allocate memory, skip this entry. */
-                    warning("foo\n");
                     goto next;
                 }
             }