aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-06-14 05:41:39 +0200
committerJavier <dev.git@javispedro.com>2015-06-14 05:41:39 +0200
commitc36852c600d0a3173ba441160a10c63a3627825a (patch)
treee9cb8486731948182fd0d57c8c7d67aee5cfce06
parent84b2d78aee986672313111d36c3349e2257d778d (diff)
downloadscribiu-c36852c600d0a3173ba441160a10c63a3627825a.tar.gz
scribiu-c36852c600d0a3173ba441160a10c63a3627825a.zip
minor cleanup
-rw-r--r--afdpageaddress.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/afdpageaddress.cc b/afdpageaddress.cc
index 708dcef..5d7596a 100644
--- a/afdpageaddress.cc
+++ b/afdpageaddress.cc
@@ -23,7 +23,7 @@ AfdPageAddress::AfdPageAddress(uint segment, uint shelf, uint book, uint page)
AfdPageAddress::AfdPageAddress(const QString &addr)
{
- uint section, segment, shelf, book, page;
+ uint section = 0, segment = 0, shelf = 0, book = 0, page = 0;
QStringList parts = addr.split('.');
if (parts.count() == 5) {
section = parts[0].toUInt();