summaryrefslogtreecommitdiff
path: root/ext.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-02-15 21:24:51 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-02-15 21:24:51 +0200
commit7ec7b66a3c3a4d3596537a119d0f97135ab16ea4 (patch)
tree3fc2175c3933b4e522d01c64a20738c8f91c9ec3 /ext.c
parent8a2eed59fd54d901721376426b34c0c128bf0cfb (diff)
downloadgawk-7ec7b66a3c3a4d3596537a119d0f97135ab16ea4.tar.gz
Fix warnings from gcc -Wall, GCC 4.6.2.
Diffstat (limited to 'ext.c')
-rw-r--r--ext.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/ext.c b/ext.c
index f0290f99..3b3c43e6 100644
--- a/ext.c
+++ b/ext.c
@@ -33,10 +33,6 @@
#include <dlfcn.h>
-#ifdef __GNUC__
-static unsigned long long dummy; /* fake out gcc for dynamic loading? */
-#endif
-
/* do_ext --- load an extension */
NODE *
@@ -54,12 +50,6 @@ do_ext(int nargs)
static short warned = FALSE;
#endif
-#ifdef __GNUC__
- AWKNUM junk;
-
- junk = (AWKNUM) dummy;
-#endif
-
if (do_sandbox)
fatal(_("extensions are not allowed in sandbox mode"));