aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2013-11-17 14:16:47 +0100
committerGravatar Steven Schubiger <stsc@refcnt.org> 2013-11-17 14:16:47 +0100
commit089b98b96832d3cc3eb5cfd5735110aa3f9fb16a (patch)
treed80369b574ad0e3d8a49df3b607948ce674f4379
parent4f6ff00bd402a74d794214f3c58c19b98eafa756 (diff)
downloadcolorize-089b98b96832d3cc3eb5cfd5735110aa3f9fb16a.tar.gz
colorize-089b98b96832d3cc3eb5cfd5735110aa3f9fb16a.tar.bz2
Remove superfluous semicolon from macros
-rw-r--r--colorize.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/colorize.c b/colorize.c
index 4303eb7..233c092 100644
--- a/colorize.c
+++ b/colorize.c
@@ -68,20 +68,20 @@
#define STACK_VAR(ptr) do { \
stack_var (&vars_list, &stacked_vars, stacked_vars, ptr); \
-} while (false);
+} while (false)
#define RELEASE_VAR(ptr) do { \
release_var (vars_list, stacked_vars, (void **)&ptr); \
-} while (false);
+} while (false)
#define MEM_ALLOC_FAIL_DEBUG(file, line) do { \
fprintf (stderr, "Memory allocation failure in source file %s, line %u\n", file, line); \
exit (2); \
-} while (false);
+} while (false)
#define MEM_ALLOC_FAIL() do { \
fprintf (stderr, "%s: memory allocation failure\n", program_name); \
exit (2); \
-} while (false);
+} while (false)
#define ABORT_TRACE() \
fprintf (stderr, "Aborting in source file %s, line %u\n", __FILE__, __LINE__); \
@@ -628,7 +628,7 @@ process_file_arg (const char *file_string, const char **file, FILE **stream)
if (!check_eof || *current_line != '\0') \
print_line (bold, colors, current_line, flags); \
free (merged_line); \
-} while (false);
+} while (false)
static void
read_print_stream (bool bold, const struct color **colors, const char *file, FILE *stream)