summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusdemarshaller.cpp
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2012-10-27 16:45:32 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-29 13:51:10 +0100
commit914e1f360868e844577dd98a179a7c8bc37bf272 (patch)
tree582a9345844ed2c7819846b6ee2070da4ec6478d /src/dbus/qdbusdemarshaller.cpp
parente880ff9cae5cfd215a9fea0bce27a8f3d2d227b0 (diff)
Remove some dead code in switch statements
Following the Code Style described in http://qt-project.org/wiki/Qt_Coding_Style#e289ee44592e9c32d4212069f0806daf There is no need for a 'break' after a 'return'. Change-Id: I1eca350391a7e4e14e504d60b24b69982cc5ac47 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/dbus/qdbusdemarshaller.cpp')
-rw-r--r--src/dbus/qdbusdemarshaller.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dbus/qdbusdemarshaller.cpp b/src/dbus/qdbusdemarshaller.cpp
index c25e7a33ec..31e3fe2bdb 100644
--- a/src/dbus/qdbusdemarshaller.cpp
+++ b/src/dbus/qdbusdemarshaller.cpp
@@ -300,7 +300,6 @@ QVariant QDBusDemarshaller::toVariantInternal()
// I hope you never dereference this pointer!
return QVariant::fromValue<void *>(ptr);
- break;
};
}