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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user