TestApp: cross validation tool style fixes
#ifdef _WIN32
#include <intrin.h>
#define strdup _strdup
-#define __forceinline static __forceinline
#define BSWAP64 _byteswap_uint64
#else
#include <x86intrin.h>
-#define __forceinline static inline __attribute__((always_inline))
#define BSWAP64 __builtin_bswap64
#endif
@@ -2070,6 +2068,7 @@ int main(int argc, char *argv[])
}
MB_MGR *p_mgr = alloc_mb_mgr(flags);
+
if (p_mgr == NULL) {
fprintf(stderr, "Error allocating MB_MGR structure!\n");
return EXIT_FAILURE;
