aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();