Author: dpage
Date: 2005-09-26 15:45:06 +0100 (Mon, 26 Sep 2005)
New Revision: 4468
Modified:
trunk/pgadmin3/src/dlg/dlgDatabase.cpp
trunk/pgadmin3/src/frm/frmQuery.cpp
trunk/pgadmin3/src/schema/pgRole.cpp
Log:
Fix some compile warnings.
Modified: trunk/pgadmin3/src/dlg/dlgDatabase.cpp
===================================================================
--- trunk/pgadmin3/src/dlg/dlgDatabase.cpp 2005-09-26 14:31:20 UTC (rev 4467)
+++ trunk/pgadmin3/src/dlg/dlgDatabase.cpp 2005-09-26 14:45:06 UTC (rev 4468)
@@ -18,10 +18,7 @@
#include "dlgDatabase.h"
#include "pgDatabase.h"
-// Images
-#include "images/database.xpm"
-
// pointer to controls
#define cbEncoding CTRL_COMBOBOX("cbEncoding")
#define cbTemplate CTRL_COMBOBOX("cbTemplate")
Modified: trunk/pgadmin3/src/frm/frmQuery.cpp
===================================================================
--- trunk/pgadmin3/src/frm/frmQuery.cpp 2005-09-26 14:31:20 UTC (rev 4467)
+++ trunk/pgadmin3/src/frm/frmQuery.cpp 2005-09-26 14:45:06 UTC (rev 4468)
@@ -1263,7 +1263,6 @@
wxWindow *queryToolFactory::StartDialog(frmMain *form, pgObject *obj)
{
pgDatabase *db=obj->GetDatabase();
- pgServer *server=db->GetServer();
pgConn *conn = db->CreateConn();
if (conn)
{
Modified: trunk/pgadmin3/src/schema/pgRole.cpp
===================================================================
--- trunk/pgadmin3/src/schema/pgRole.cpp 2005-09-26 14:31:20 UTC (rev 4467)
+++ trunk/pgadmin3/src/schema/pgRole.cpp 2005-09-26 14:45:06 UTC (rev 4468)
@@ -358,8 +358,6 @@
#include "images/user.xpm"
#include "images/group.xpm"
-#include "images/users.xpm"
-#include "images/groups.xpm"
#include "images/roles.xpm"
#include "images/loginroles.xpm"