This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db9f82c
)
Silence compiler warning in SDBM_File
author
Steve Hay
<SteveHay@planit.com>
Mon, 27 Jun 2005 15:45:05 +0000
(15:45 +0000)
committer
Steve Hay
<SteveHay@planit.com>
Mon, 27 Jun 2005 15:45:05 +0000
(15:45 +0000)
Unless I'm missing something it looks like "key" actually is used,
and the "key = key" assignment causes bcc32 to complain about use
before definition!
p4raw-id: //depot/perl@24994
ext/SDBM_File/SDBM_File.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/SDBM_File/SDBM_File.xs
b/ext/SDBM_File/SDBM_File.xs
index
3bf3c2b
..
24b2b83
100644
(file)
--- a/
ext/SDBM_File/SDBM_File.xs
+++ b/
ext/SDBM_File/SDBM_File.xs
@@
-101,7
+101,7
@@
sdbm_FIRSTKEY(db)
datum_key
sdbm_NEXTKEY(db, key)
SDBM_File db
- datum_key key
= key; /* never used - silence picky compilers. */
+ datum_key key
;
int
sdbm_error(db)