QtSystems: Fix compiler warnings.
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Fri, 12 Oct 2012 13:06:21 +0000 (15:06 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 16 Oct 2012 20:39:58 +0000 (22:39 +0200)
commit3ac719bb6ee535b716ef5b23a1e194946c033dca
tree789ed217853384cd0eb9c46049f48d2f6dde1a46
parent966825806db0bc96418a41b13728f262de5e3237
QtSystems: Fix compiler warnings.

- Fix QString-construction from const char * returned by getenv,
  (potential crash).
- Fix single character string constants.
- Integer truncation.
- Unused variables.

Change-Id: I245daa1eb68801227d42ae07681f8e640c1f55c0
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
src/serviceframework/ipc/qservicepackage.cpp
src/systeminfo/qdeviceinfo_win.cpp
src/systeminfo/qnetworkinfo_linux.cpp
src/systeminfo/windows/qwmihelper_win.cpp
src/tools/servicefw/servicefw.cpp
src/tools/sfwlisten/main.cpp