[dev] [PATCH 1/2] diff: remove printf-macro, fshut reports the potential error

From: <maandree_AT_kth.se>
Date: Thu, 28 Jan 2016 00:18:36 +0100

Signed-off-by: Mattias Andrée <maandree_AT_kth.se>
---
 diff.c | 2 --
 1 file changed, 2 deletions(-)
diff --git a/diff.c b/diff.c
index b6da7b9..27ad8cf 100644
--- a/diff.c
+++ b/diff.c
_AT_@ -10,8 +10,6 @@
 
 #define END_OF_PATH  127
 
-#define printf(...)  do  {if (printf(__VA_ARGS__) < 0) perror("printf"), exit(EXIT_FAILURE); } while(0)
-
 struct file_data {
 	char **lines;
 	size_t line_count;
-- 
2.7.0
Received on Thu Jan 28 2016 - 00:18:36 CET

This archive was generated by hypermail 2.3.0 : Thu Jan 28 2016 - 00:24:11 CET