summaryrefslogtreecommitdiffstats
path: root/loc2c-test.c
diff options
context:
space:
mode:
authorfche <fche>2007-02-19 18:28:52 +0000
committerfche <fche>2007-02-19 18:28:52 +0000
commit78f6bba6ce01c217f8f92adbdf99e8f82ab47573 (patch)
treea19863cb0f1618535549004e2d86b4742f9ba00c /loc2c-test.c
parent745250945beabc4507aaeec9e2af50ce3690dda8 (diff)
downloadsystemtap-steved-78f6bba6ce01c217f8f92adbdf99e8f82ab47573.tar.gz
systemtap-steved-78f6bba6ce01c217f8f92adbdf99e8f82ab47573.tar.xz
systemtap-steved-78f6bba6ce01c217f8f92adbdf99e8f82ab47573.zip
2007-02-19 Frank Ch. Eigler <fche@elastic.org>
PR 4078 and more, including patch from Eugeniy Meshcheryakov <eugen@debian.org>: * Makefile.am (AM_CXXFLAGS, AM_CFLAGS): Add -Wextra -Wall -Werror consistently. * Makefile.in: Regenerated. (*): Many minor warning fixes.
Diffstat (limited to 'loc2c-test.c')
-rw-r--r--loc2c-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/loc2c-test.c b/loc2c-test.c
index 535493a2..c39ab061 100644
--- a/loc2c-test.c
+++ b/loc2c-test.c
@@ -87,7 +87,8 @@ handle_variable (Dwarf_Die *scopes, int nscopes, int out,
XXX inlines botched
*/
Dwarf_Attribute fb_attr_mem, *fb_attr = NULL;
- for (int inner = 0; inner < nscopes; ++inner)
+ int inner;
+ for (inner = 0; inner < nscopes; ++inner)
{
switch (dwarf_tag (&scopes[inner]))
{