summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-10-07 11:42:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-10-07 11:42:28 +0000
commit197fe77f67654cf8c46c53376190fc321176c08b (patch)
tree1a161cf7fb7968e3781b1d11771195d9b5e4c26c /plugins/New_GPG/src/main.cpp
parent4bcab3fc00696ca2daf1396bfc75bd49009644d6 (diff)
old database macros removed from m_database.h
git-svn-id: http://svn.miranda-ng.org/main/trunk@1796 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG/src/main.cpp')
-rwxr-xr-xplugins/New_GPG/src/main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/New_GPG/src/main.cpp b/plugins/New_GPG/src/main.cpp
index 4c7d98095f..b38d57c866 100755
--- a/plugins/New_GPG/src/main.cpp
+++ b/plugins/New_GPG/src/main.cpp
@@ -238,7 +238,6 @@ static INT_PTR CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPAR
}
else
{
- char setting[64];
std::string acc_str = buf;
acc_str += "_GPGPubKey";
DBWriteContactSettingString(NULL, szGPGModuleName, acc_str.c_str(), out.c_str());
@@ -432,7 +431,6 @@ static INT_PTR CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPAR
}
else
{
- char setting[64];
std::string acc_str = buf;
acc_str += "_GPGPubKey";
DBDeleteContactSetting(NULL, szGPGModuleName, acc_str.c_str());
@@ -565,7 +563,6 @@ static INT_PTR CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPAR
}
else
{
- char setting[64];
std::string acc_str = buf;
acc_str += "_GPGPubKey";
DBWriteContactSettingString(NULL, szGPGModuleName, acc_str.c_str(), out.c_str());
@@ -597,7 +594,6 @@ static INT_PTR CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPAR
{
string keyinfo = Translate("key id");
keyinfo += ": ";
- char setting[64];
std::string acc_str= buf;
acc_str += "_KeyID";
char *keyid = UniGetContactSettingUtf(NULL, szGPGModuleName, acc_str.c_str(), "");