summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-19 15:08:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-19 15:08:05 +0000
commitf4e7c5190ccf143e2502f81122fb1df85a562739 (patch)
treed3a591c238cc747fd820c95e995723ee62685fed
parentAdd missing prototypes. (diff)
downloadrtems-f4e7c5190ccf143e2502f81122fb1df85a562739.tar.bz2
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* httpd/uemf.h: Add empty braces to macro.
-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 */
/******************************************************************************/