Skip to content

Commit

Permalink
fix gcc compile error
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8219 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Mar 13, 2008
1 parent 022c938 commit 1156b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,7 @@ QVariant QgsPostgresProvider::getDefaultValue(int fieldId)
" AND table_name = " + quotedValue(mTableName) +
" AND column_name = " + quotedValue(fieldName) );

QVariant defaultValue = QString::null;
QVariant defaultValue(QString::null);

PGresult* result = PQexec(connection, sql.toUtf8());

Expand Down

0 comments on commit 1156b00

Please sign in to comment.