Skip Menu |

This queue is for tickets about the PadWalker CPAN distribution.

Report information
The Basics
Id: 82829
Status: new
Priority: 0/
Queue: PadWalker

People
Owner: Nobody in particular
Requestors: porten [...] froglogic.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.96
Fixed in: (no value)



Subject: [Patch] Fix compiler warning
When compiling the C code from PadWalker.xs with the -W switch the following warnings are produced: PadWalker.xs: In function ‘SV* fetch_from_stash(HV*, char*, U32)’: PadWalker.xs:197:49: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body] PadWalker.xs: In function ‘void do_peek(I32, HV*, HV*)’: PadWalker.xs:335:62: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] A proposed patch can be found in this pull request: https://github.com/hporten/PadWalker/commit/5a5c636850a732a98b67a919e98a7edccd09d479