added -Wextra -Werror and fixed everything it had to mecker about

This commit is contained in:
TLINDEN
2014-02-25 18:05:32 +01:00
parent 21b0ea38db
commit 8b955b5e92
19 changed files with 36 additions and 81 deletions

View File

@@ -32,7 +32,10 @@ Key::Key() {
Key::Key(bool generate) {
stored = false;
K = pcpkey_new();
if(generate)
K = pcpkey_new();
else
K = NULL;
}
Key::Key(const string& passphrase) {