Commit ddce07f8 authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

Make sure that a path with a Q_ASSERT() doesn't do worse things in release

mode.

svn path=/branches/work/kgpg2/; revision=761600
parent e3502480
......@@ -1937,6 +1937,7 @@ void KeysManager::delsignkey()
break;
default:
Q_ASSERT(1);
return;
}
QString signID;
......
......@@ -291,7 +291,8 @@ void MyView::startFolderEncode()
case 1: extension = ".tar.gz"; break;
case 2: extension = ".tar.bz2"; break;
case 3: extension = ".tar"; break;
default: Q_ASSERT(1);
default: Q_ASSERT(compressionScheme);
return;
}
if (dialog->getArmor())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment