aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2014-05-16 14:37:00 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2014-05-16 14:37:00 +0200
commitc8a31492d05451ad2b7d8131e48247bd74b6c12a (patch)
tree2ea4ab917ad7dfa57cccd39597161265bdfdc0e6
parent71527c4451f7f95ba79b7f12da049620b1bbb9e9 (diff)
downloadcolorize-c8a31492d05451ad2b7d8131e48247bd74b6c12a.tar.gz
colorize-c8a31492d05451ad2b7d8131e48247bd74b6c12a.tar.bz2
Don't declare errno
-rw-r--r--colorize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/colorize.c b/colorize.c
index b7974b1..9ffac26 100644
--- a/colorize.c
+++ b/colorize.c
@@ -626,7 +626,7 @@ process_file_arg (const char *file_string, const char **file, FILE **stream)
FILE *s;
const char *file = file_string;
struct stat sb;
- int errno, ret;
+ int ret;
errno = 0;
ret = lstat (file, &sb);