summaryrefslogtreecommitdiffstats
path: root/onlineupdate/source
diff options
context:
space:
mode:
Diffstat (limited to 'onlineupdate/source')
-rw-r--r--onlineupdate/source/update/updater/updater.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/onlineupdate/source/update/updater/updater.cxx b/onlineupdate/source/update/updater/updater.cxx
index d32e6916cb12..01ca1a2475a9 100644
--- a/onlineupdate/source/update/updater/updater.cxx
+++ b/onlineupdate/source/update/updater/updater.cxx
@@ -315,10 +315,6 @@ get_full_path(const NS_tchar *relpath)
size_t lendestpath = NS_tstrlen(destpath);
size_t lenrelpath = NS_tstrlen(relpath);
NS_tchar *s = new NS_tchar[lendestpath + lenrelpath + 2];
- if (!s)
- {
- return nullptr;
- }
NS_tchar *c = s;