From 39029943851dfc318fabb95357e00b81d2735547 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 25 Dec 2012 03:08:37 +0300 Subject: Improve empty strings manipulation. --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index baa356386..1fe71fcfa 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -151,7 +151,7 @@ static void parseOptions(const int argc, char *const argv[], if (checkPath(optarg)) options.updateHost = optarg; else - options.updateHost = ""; + options.updateHost.clear(); break; case 'c': options.character = optarg; @@ -193,7 +193,7 @@ static void parseOptions(const int argc, char *const argv[], break; case 'T': options.testMode = true; - options.test = ""; + options.test.clear(); break; case 't': options.testMode = true; -- cgit v1.2.3-60-g2f50