Removed pragma warnings
parent
49fdd12fdf
commit
4961241c09
|
@ -43,11 +43,6 @@
|
||||||
|
|
||||||
#include "crypt.h"
|
#include "crypt.h"
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
# pragma warning(push)
|
|
||||||
# pragma warning(disable : 4244)
|
|
||||||
#endif // _WIN32
|
|
||||||
|
|
||||||
/***************************************************************************/
|
/***************************************************************************/
|
||||||
|
|
||||||
#define CRC32(c, b) ((*(pcrc_32_tab+(((uint32_t)(c) ^ (b)) & 0xff))) ^ ((c) >> 8))
|
#define CRC32(c, b) ((*(pcrc_32_tab+(((uint32_t)(c) ^ (b)) & 0xff))) ^ ((c) >> 8))
|
||||||
|
@ -164,8 +159,4 @@ int crypthead(const char *passwd, uint8_t *buf, int buf_size, uint32_t *pkeys,
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
# pragma warning(pop)
|
|
||||||
#endif // _WIN32
|
|
||||||
|
|
||||||
/***************************************************************************/
|
/***************************************************************************/
|
||||||
|
|
|
@ -23,8 +23,6 @@
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# define snprintf _snprintf
|
# define snprintf _snprintf
|
||||||
# pragma warning(push)
|
|
||||||
# pragma warning(disable : 4131 4100)
|
|
||||||
# ifdef __clang__
|
# ifdef __clang__
|
||||||
# pragma clang diagnostic push
|
# pragma clang diagnostic push
|
||||||
# pragma clang diagnostic ignored "-Wunused-parameter"
|
# pragma clang diagnostic ignored "-Wunused-parameter"
|
||||||
|
@ -358,7 +356,6 @@ void fill_fopen64_filefunc(zlib_filefunc64_def *pzlib_filefunc_def)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# pragma warning(pop)
|
|
||||||
# ifdef __clang__
|
# ifdef __clang__
|
||||||
# pragma clang diagnostic pop
|
# pragma clang diagnostic pop
|
||||||
# endif
|
# endif
|
||||||
|
|
|
@ -73,11 +73,6 @@
|
||||||
# define TRYFREE(p) {if (p) free(p);}
|
# define TRYFREE(p) {if (p) free(p);}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
# pragma warning(push)
|
|
||||||
# pragma warning(disable : 4131 4244 4189 4245)
|
|
||||||
#endif // _WIN32
|
|
||||||
|
|
||||||
const char unz_copyright[] =
|
const char unz_copyright[] =
|
||||||
" unzip 1.01 Copyright 1998-2004 Gilles Vollant - http://www.winimage.com/zLibDll";
|
" unzip 1.01 Copyright 1998-2004 Gilles Vollant - http://www.winimage.com/zLibDll";
|
||||||
|
|
||||||
|
@ -1993,8 +1988,4 @@ extern int ZEXPORT unzEndOfFile(unzFile file)
|
||||||
if (s->pfile_in_zip_read->rest_read_uncompressed == 0)
|
if (s->pfile_in_zip_read->rest_read_uncompressed == 0)
|
||||||
return 1;
|
return 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
# pragma warning(pop)
|
|
||||||
#endif // _WIN32
|
|
Loading…
Reference in New Issue