diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-28 16:10:06 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-28 15:05:32 +0100 |
commit | 3040d328c944d91b0cd612d86d358823b5c5b883 (patch) | |
tree | 689dd912ebff40137de98a7cf61b4042b9ec2cf2 /sal/osl | |
parent | d86778573a1ef207748cf8a6ca67eaef5cf04b02 (diff) |
tdf#120703 PVS: V547 Expression is always true/false
Change-Id: Iaa1a1811b638aadfe6b06b3465a182cb675031b5
Reviewed-on: https://gerrit.libreoffice.org/62476
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sal/osl')
-rw-r--r-- | sal/osl/w32/socket.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sal/osl/w32/socket.cxx b/sal/osl/w32/socket.cxx index 130bdcdb9f05..f3cf5016a14b 100644 --- a/sal/osl/w32/socket.cxx +++ b/sal/osl/w32/socket.cxx @@ -469,12 +469,6 @@ oslHostAddr SAL_CALL osl_createHostAddr ( rtl_uString_newFromString( &cn, strHostname); - if ( ! pSocketAddr ) - { - rtl_uString_release(cn); - return nullptr; - } - pAddr= static_cast<oslHostAddr>(malloc (sizeof (struct oslHostAddrImpl))); if (pAddr == nullptr) |