summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-12-05 23:40:12 -0800
committerEike Ziller <eike.ziller@digia.com>2013-12-06 11:11:53 +0100
commit50f2d91b44ab527e91a6e1f308e3e07576f33a9f (patch)
tree5193a33f656ae35f4815346b0c225893aad366e8
parent3851ec290b74dc896d4d29e37de511125ed4adca (diff)
downloadqt-creator-50f2d91b44ab527e91a6e1f308e3e07576f33a9f.tar.gz
Fix warning about non-void function with no return
remotelinuxruncontrolfactory.cpp(124): warning #1011: missing return statement at end of non-void function "RemoteLinux::Internal::RemoteLinuxRunControlFactory::create" Technically, the function doesn't reach there, but ICC 14 doesn't know about it. Change-Id: Id55f6f33ff7c0eb97dba9af99bf0d34a9c01e191 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
-rw-r--r--src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp b/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
index 6372b8cae0..15c4614924 100644
--- a/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
+++ b/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
@@ -121,6 +121,7 @@ RunControl *RemoteLinuxRunControlFactory::create(RunConfiguration *runConfig, Ru
}
QTC_ASSERT(false, return 0);
+ return 0;
}
} // namespace Internal