diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-04-03 18:27:30 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-04-03 18:28:08 +0100 |
commit | ae2e8cc73fae1410e6d42ea6108d013cdd5c0d5f (patch) | |
tree | 6066cea50433bca21bf88a33a7050d0de4b3b0ee /ext | |
parent | 8c31914eb8d5464fe868315a1038f657f5586790 (diff) | |
download | perl-ae2e8cc73fae1410e6d42ea6108d013cdd5c0d5f.tar.gz |
Don't needlessly assign to pagname (which seems to make clang even happier).
Diffstat (limited to 'ext')
-rw-r--r-- | ext/SDBM_File/sdbm/sdbm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/SDBM_File/sdbm/sdbm.c b/ext/SDBM_File/sdbm/sdbm.c index 97b8b4a43d..8be9bb9b5c 100644 --- a/ext/SDBM_File/sdbm/sdbm.c +++ b/ext/SDBM_File/sdbm/sdbm.c @@ -93,7 +93,7 @@ sdbm_open(register char *file, register int flags, register int mode) */ strcat(strcpy(dirname, file), DIRFEXT); pagname = strcpy(dirname + strlen(dirname) + 1, file); - pagname = strcat(pagname, PAGFEXT); + strcat(pagname, PAGFEXT); db = sdbm_prep(dirname, pagname, flags, mode); free((char *) dirname); |