From 9ceec314dfc92c5d69442966dd386aaefee90bea Mon Sep 17 00:00:00 2001 From: wcohen Date: Fri, 29 Feb 2008 14:36:28 +0000 Subject: 2008-02-29 Will Cohen * main.cxx (handle_interrupts): Make compatible with GCC 4.3. --- main.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.cxx') diff --git a/main.cxx b/main.cxx index 449c1a2a..4364f664 100644 --- a/main.cxx +++ b/main.cxx @@ -197,7 +197,7 @@ void handle_interrupt (int /* sig */) { char msg[] = "Too many interrupts received, exiting.\n"; int rc = write (2, msg, sizeof(msg)-1); - if (rc) /* Do nothing; we don't care if our last gasp went out. */ ; + if (rc) {/* Do nothing; we don't care if our last gasp went out. */ ;} _exit (1); } } -- cgit