From 8525ab5ed7667a4e3f0a1e082f8e84e93d15fb86 Mon Sep 17 00:00:00 2001 From: James Fawcus-Robinson Date: Sun, 4 Jun 2017 13:01:18 +0100 Subject: [PATCH] OscBundle.cpp: fix misleading-indentation warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed a few spaces before throwing exceptions so that the following warnings aren't raised while compiling OscBundle.cpp: ``` warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] ``` ``` note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ ``` --- CasterSoundboard/libs/osc/reader/OscBundle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CasterSoundboard/libs/osc/reader/OscBundle.cpp b/CasterSoundboard/libs/osc/reader/OscBundle.cpp index bfef7cc..a032d73 100644 --- a/CasterSoundboard/libs/osc/reader/OscBundle.cpp +++ b/CasterSoundboard/libs/osc/reader/OscBundle.cpp @@ -91,7 +91,7 @@ OscBundle* OscBundle::getBundle(qint32 index) { if (dynamic_cast(mContentList[index]) != 0) return dynamic_cast(mContentList[index]); - throw GetBundleException(); + throw GetBundleException(); } /** @@ -105,5 +105,5 @@ OscMessage* OscBundle::getMessage(qint32 index) { if (dynamic_cast(mContentList[index]) != 0) return dynamic_cast(mContentList[index]); - throw GetMessageException(); + throw GetMessageException(); }