projects
/
openitg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79d0eca
)
Mark dummy as unused since it's apparently needed on some platforms (OpenITG on OS...
author
Mikko Rasa
<tdb@tdb.fi>
Wed, 2 Nov 2011 12:01:22 +0000
(14:01 +0200)
committer
Mikko Rasa
<tdb@tdb.fi>
Wed, 2 Nov 2011 12:01:22 +0000
(14:01 +0200)
src/pcre/study.c
patch
|
blob
|
history
diff --git
a/src/pcre/study.c
b/src/pcre/study.c
index
a40f721
..
410d691
100755
(executable)
--- a/
src/pcre/study.c
+++ b/
src/pcre/study.c
@@
-38,6
+38,11
@@
the external pcre header. */
#include "internal.h"
+#ifdef __GNUC__
+#define UNUSED __attribute__((unused))
+#else
+#define UNUSED
+#endif
/*************************************************
@@
-96,7
+101,7
@@
code. Apparently IBM isn't going to fix the problem, and we would rather not
disable optimization (in this module it actually makes a big difference, and
the pcre module can use all the optimization it can get). */
-volatile int dummy;
+volatile int dummy
UNUSED
;
do
{