summaryrefslogtreecommitdiffstats
path: root/jnlib
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2008-10-17 21:18:46 +0200
committerWerner Koch <wk@gnupg.org>2008-10-17 21:18:46 +0200
commit0698c5169fca5b7969e6b0fa4de22b693e7fd2e4 (patch)
treeebfa56dde985a7925e9dc6ea60bda96569106718 /jnlib
parentReset the context lock flag after a failed dirmngr start which may happend (diff)
downloadgnupg2-0698c5169fca5b7969e6b0fa4de22b693e7fd2e4.tar.xz
gnupg2-0698c5169fca5b7969e6b0fa4de22b693e7fd2e4.zip
Use more warning options with modern GCCs.
Other minor changes.
Diffstat (limited to 'jnlib')
-rw-r--r--jnlib/dynload.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/jnlib/dynload.h b/jnlib/dynload.h
index a58bc19f9..54774650d 100644
--- a/jnlib/dynload.h
+++ b/jnlib/dynload.h
@@ -31,6 +31,7 @@ static inline void *
dlopen (const char * name, int flag)
{
void * hd = LoadLibrary (name);
+ (void)flag;
return hd;
}