Skip to content

Commit

Permalink
qgswfstransaction.cpp and qgswfstransaction_1_0_0.cpp: move action.er…
Browse files Browse the repository at this point in the history
…ror test inside #ifdef to avoid redundant test when the #ifdef is not active
  • Loading branch information
rouault committed May 29, 2020
1 parent 71c0f93 commit 9ff4c0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/server/services/wfs/qgswfstransaction.cpp
Expand Up @@ -522,11 +522,11 @@ namespace QgsWfs
}
}
}
#endif
if ( action.error )
{
continue;
}
#endif

// Commit the changes of the update elements
if ( !vlayer->commitChanges() )
Expand Down
2 changes: 1 addition & 1 deletion src/server/services/wfs/qgswfstransaction_1_0_0.cpp
Expand Up @@ -498,11 +498,11 @@ namespace QgsWfs
}
}
}
#endif
if ( action.error )
{
continue;
}
#endif

// Commit the changes of the update elements
if ( !vlayer->commitChanges() )
Expand Down

0 comments on commit 9ff4c0d

Please sign in to comment.