X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Ftrackfds.h;h=8237781580d4e32266d11dccce3c7139c4866e97;hb=30876b212cf0d143fcb7098b8968eb4f6c67c5a8;hp=4571b2c9448fdc9d19aded63e222a10c8511c2e3;hpb=c2097785e752fee94c5c9ef46f03b8312694251a;p=coloredstderr%2Fcoloredstderr.git diff --git a/src/trackfds.h b/src/trackfds.h index 4571b2c..8237781 100644 --- a/src/trackfds.h +++ b/src/trackfds.h @@ -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; } }