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
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
APItest.xs: Omit unused variable
[perl5.git]
/
pp_sort.c
diff --git
a/pp_sort.c
b/pp_sort.c
index
6049509
..
9d31bda
100644
(file)
--- a/
pp_sort.c
+++ b/
pp_sort.c
@@
-558,7
+558,7
@@
S_mergesortsv(pTHX_ gptr *base, size_t nmemb, SVCOMPARE_t cmp, U32 flags)
}
done:
if (aux != small) Safefree(aux); /* free iff allocated */
- if (
flags
) {
+ if (
savecmp != NULL
) {
PL_sort_RealCmp = savecmp; /* Restore current comparison routine, if any */
}
return;