summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog4
-rw-r--r--cpukit/httpd/uemf.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 7b5926ad5c..6af17a2d68 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * httpd/uemf.h: Add empty braces to macro.
+
2008-08-19 Tim FitzGeorge <tim.fitzgeorge@astrium.eads.net>
PR 1296/cpukit.
diff --git a/cpukit/httpd/uemf.h b/cpukit/httpd/uemf.h
index fa8c03e6c1..c890b651c6 100644
--- a/cpukit/httpd/uemf.h
+++ b/cpukit/httpd/uemf.h
@@ -592,7 +592,7 @@ typedef struct stat gstat_t;
#if (defined (ASSERT) || defined (ASSERT_CE))
#define a_assert(C) if (C) ; else error(E_L, E_ASSERT, T("%s"), T(#C))
#else
- #define a_assert(C) if (1) ; else
+ #define a_assert(C) if (1) ; else {}
#endif /* ASSERT || ASSERT_CE */
/******************************************************************************/