]> vaikene.ee Git - evaf/blobdiff - src/apps/PswGen/Storage/module.cpp
Warning fixes and copyright update.
[evaf] / src / apps / PswGen / Storage / module.cpp
index fc75dbb194fc57070e34baaa3a37bb3d9ec8a376..8e65360d2c8a29e323b090113a77e56a34565796 100644 (file)
@@ -3,7 +3,7 @@
  * @brief Implementation of the iStorage interface
  * @author Enar Vaikene
  *
- * Copyright (c) 2011-2012 Enar Vaikene
+ * Copyright (c) 2011-2019 Enar Vaikene
  *
  * This file is part of the eVaf C++ cross-platform application development framework.
  *
@@ -57,7 +57,7 @@ Module::~Module()
 
 bool Module::init(QString const & args)
 {
-    Q_UNUSED(args);
+    Q_UNUSED(args)
 
     if (!mStorage->init())
         return false;
@@ -149,8 +149,8 @@ void StorageImpl::done()
 
 bool StorageImpl::save(QString const & name, QExplicitlySharedDataPointer<Storage::Data> data)
 {
-    EVAF_TEST_X(data, "Data cannot be null");
-    EVAF_TEST_X(!name.isEmpty(), "Name cannot be empty");
+    EVAF_TEST_X(data, "Data cannot be null")
+    EVAF_TEST_X(!name.isEmpty(), "Name cannot be empty")
 
     if (!QSqlDatabase::contains(DbConnectionName))
     {