Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix gcc compile error
git-svn-id: http://svn.osgeo.org/qgis/trunk@8219 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Mar 13, 2008
1 parent 93284cc commit ee95b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
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 ee95b95

Please sign in to comment.