summaryrefslogtreecommitdiff
path: root/ext/Time
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-18 23:45:12 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-18 23:45:12 +0000
commitc46a0ec2e4dd739764813c48d759541d301ed265 (patch)
tree1165ff13bbf15360631c7e7c913c17aa0c2662f6 /ext/Time
parentf6eb1a9681f0cdb7a59526670d656e4adf00188c (diff)
downloadperl-c46a0ec2e4dd739764813c48d759541d301ed265.tar.gz
gcc -Wall sweep.
p4raw-id: //depot/perl@10700
Diffstat (limited to 'ext/Time')
-rw-r--r--ext/Time/Piece/Piece.xs4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/Time/Piece/Piece.xs b/ext/Time/Piece/Piece.xs
index bae2d4c7bf..d888588dcb 100644
--- a/ext/Time/Piece/Piece.xs
+++ b/ext/Time/Piece/Piece.xs
@@ -32,9 +32,7 @@ __strftime(fmt, sec, min, hour, mday, mon, year, wday = -1, yday = -1, isdst = -
CODE:
#XXX: an sv_strftime() that can make use of the TARG would faster
buf = my_strftime(fmt, sec, min, hour, mday, mon, year, wday, yday, isdst);
- if (buf) {
- RETVAL = buf;
- }
+ RETVAL = buf;
OUTPUT:
RETVAL