openbsd-ports/databases/sqliteman/patches/patch-sqliteman_main_cpp

13 lines
449 B
Plaintext

$OpenBSD: patch-sqliteman_main_cpp,v 1.3 2010/10/28 08:56:08 espie Exp $
--- sqliteman/main.cpp.orig Thu Oct 28 10:20:38 2010
+++ sqliteman/main.cpp Thu Oct 28 10:20:44 2010
@@ -69,7 +69,7 @@ class ArgsParser
with PreferencesDialog.
*/
ArgsParser::ArgsParser(int c, char ** v)
- : argc(c), argv(v), m_locale(""), m_file(0)
+ : argc(c), argv(v), m_locale(""), m_file()
{
QDir d(TRANSLATION_DIR, "*.qm");
int i = 1; // 0 is for system default