diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2012-08-20 13:12:49 +0200 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2012-08-20 13:12:49 +0200 |
| commit | 54fc4029dd3dad0744fecc192cbee9d26a2601e6 (patch) | |
| tree | b266a88408824dbb551ca6cffbd6ceed07deae05 /Source/Core/DiscIO | |
| parent | 603bd9982d89b917af83bae2e45b3eaa8e2accec (diff) | |
Use do { ... } while (0) for the *_LOG macros
Without this patch, such code would not compile:
if (cond)
WARN_LOG(FOO, "msg");
else
WARN_LOG(FOO, "msg2");
Diffstat (limited to 'Source/Core/DiscIO')
| -rw-r--r-- | Source/Core/DiscIO/Src/DiscScrubber.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/Src/DiscScrubber.cpp b/Source/Core/DiscIO/Src/DiscScrubber.cpp index 1f99b8d867..841c8283cc 100644 --- a/Source/Core/DiscIO/Src/DiscScrubber.cpp +++ b/Source/Core/DiscIO/Src/DiscScrubber.cpp @@ -284,7 +284,7 @@ bool ParsePartitionData(SPartition& _rPartition) if (!FileSystem) { - ERROR_LOG(DISCIO, "Failed to create filesystem for group %d partition %u", _rPartition.GroupNumber, _rPartition.Number) + ERROR_LOG(DISCIO, "Failed to create filesystem for group %d partition %u", _rPartition.GroupNumber, _rPartition.Number); ParsedOK = false; } else |
