mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-21 17:59:50 +00:00
just some compiler warning cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2562 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
3f840806b3
commit
02a4b49df1
9 changed files with 25 additions and 20 deletions
|
@ -157,8 +157,8 @@ public:
|
|||
return false;
|
||||
}
|
||||
|
||||
FILE* pFile;
|
||||
if (! (pFile = fopen(_rFilename.c_str(), "rb"))) {
|
||||
FILE* pFile = fopen(_rFilename.c_str(), "rb");
|
||||
if (!pFile) {
|
||||
ERROR_LOG(COMMON,"ChunkReader: Can't open file for reading");
|
||||
return false;
|
||||
}
|
||||
|
@ -219,8 +219,8 @@ public:
|
|||
FILE* pFile;
|
||||
|
||||
INFO_LOG(COMMON, "ChunkReader: Writing %s" , _rFilename.c_str());
|
||||
|
||||
if (! (pFile = fopen(_rFilename.c_str(), "wb"))) {
|
||||
pFile = fopen(_rFilename.c_str(), "wb");
|
||||
if (!pFile) {
|
||||
ERROR_LOG(COMMON,"ChunkReader: Error opening file for write");
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -83,10 +83,10 @@ enum LOG_LEVELS {
|
|||
#endif // loglevel
|
||||
#endif // logging
|
||||
|
||||
#define ERROR_LOG(...)
|
||||
#define WARN_LOG(...)
|
||||
#define INFO_LOG(...)
|
||||
#define DEBUG_LOG(...)
|
||||
#define ERROR_LOG(...) {}
|
||||
#define WARN_LOG(...) {}
|
||||
#define INFO_LOG(...) {}
|
||||
#define DEBUG_LOG(...) {}
|
||||
|
||||
extern void __Log(int logNumber, const char* text, ...);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue