]> granicus.if.org Git - fortune-mod/commitdiff
refactoring
authorShlomi Fish <shlomif@shlomifish.org>
Wed, 29 Apr 2020 08:06:34 +0000 (11:06 +0300)
committerShlomi Fish <shlomif@shlomifish.org>
Wed, 29 Apr 2020 08:06:34 +0000 (11:06 +0300)
fortune-mod/util/strfile.c

index 496844038bc415641cc5a1f9724737f48fbea8e1..7385172ad3e4ff055edeed3fba01265b479664be 100644 (file)
@@ -86,9 +86,7 @@
 
 #define CHUNKSIZE 512
 
-#define ALWAYS 1
 #define ALLOC(ptr, sz)                                                         \
-    if (ALWAYS)                                                                \
     {                                                                          \
         if (ptr == NULL)                                                       \
             ptr = malloc((unsigned int)(CHUNKSIZE * sizeof *ptr));             \