1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Fix misplaced endif in apprentice_sort() (#18686)

This commit is contained in:
Niels Dossche
2025-05-29 12:04:07 +02:00
committed by GitHub
parent 8b4edf0229
commit 399cb4ca85
2 changed files with 2 additions and 2 deletions

View File

@@ -328,8 +328,8 @@ diff -u libmagic.orig/apprentice.c libmagic/apprentice.c
@@ -1151,6 +1075,7 @@
file_mdump(ma->mp);
file_mdump(mb->mp);
return 0;
+#endif
return 0;
}
return x > 0 ? -1 : 1;
}

View File

@@ -1074,8 +1074,8 @@ apprentice_sort(const void *a, const void *b)
ma->mp->desc);
file_mdump(ma->mp);
file_mdump(mb->mp);
return 0;
#endif
return 0;
}
return x > 0 ? -1 : 1;
}