mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix misplaced endif in apprentice_sort() (#18686)
This commit is contained in:
parent
8b4edf0229
commit
399cb4ca85
2 changed files with 2 additions and 2 deletions
|
@ -328,8 +328,8 @@ diff -u libmagic.orig/apprentice.c libmagic/apprentice.c
|
||||||
@@ -1151,6 +1075,7 @@
|
@@ -1151,6 +1075,7 @@
|
||||||
file_mdump(ma->mp);
|
file_mdump(ma->mp);
|
||||||
file_mdump(mb->mp);
|
file_mdump(mb->mp);
|
||||||
return 0;
|
|
||||||
+#endif
|
+#endif
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
return x > 0 ? -1 : 1;
|
return x > 0 ? -1 : 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1074,8 +1074,8 @@ apprentice_sort(const void *a, const void *b)
|
||||||
ma->mp->desc);
|
ma->mp->desc);
|
||||||
file_mdump(ma->mp);
|
file_mdump(ma->mp);
|
||||||
file_mdump(mb->mp);
|
file_mdump(mb->mp);
|
||||||
return 0;
|
|
||||||
#endif
|
#endif
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
return x > 0 ? -1 : 1;
|
return x > 0 ? -1 : 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue