Skip to content

Commit

Permalink
Fix unused variable warning when building without server plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 27, 2021
1 parent f435e93 commit ced110a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/services/wfs3/qgswfs3handlers.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ QgsFields QgsWfs3AbstractItemsHandler::publishedFields( const QgsVectorLayer *vL
{ {
publishedAttributes = accessControl->layerAttributes( vLayer, publishedAttributes ); publishedAttributes = accessControl->layerAttributes( vLayer, publishedAttributes );
} }
#else
( void )context;
#endif #endif


QgsFields publishedFields; QgsFields publishedFields;
Expand Down

0 comments on commit ced110a

Please sign in to comment.