diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-27 09:54:09 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-27 13:47:30 +0200 |
commit | 81105d9534979b6d14a5ceb58e70845892d550fa (patch) | |
tree | e1decb2f0cc8a528f0dd78532a6b258aad359617 /extensions | |
parent | d3f80583ee90c9b652ac5d1ef8957ec0db65fdd2 (diff) |
-Werror,-Wvarargs
"passing an object that undergoes default argument promotion to 'va_start' has
undefined behavior [-Werror,-Wvarargs]"
just drop the variadic overload and use the one taking a WizardPath (i.e., a vector)
Change-Id: I6e389f60f8b7cb0633bf173bde69af1c5af86048
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/abpilot/abspilot.cxx | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/extensions/source/abpilot/abspilot.cxx b/extensions/source/abpilot/abspilot.cxx index 7e978e435a74..81c1f713b041 100644 --- a/extensions/source/abpilot/abspilot.cxx +++ b/extensions/source/abpilot/abspilot.cxx @@ -64,32 +64,28 @@ namespace abp SetPageSizePixel(LogicToPixel(Size(WINDOW_SIZE_X, WINDOW_SIZE_Y), MAP_APPFONT)); declarePath( PATH_COMPLETE, - STATE_SELECT_ABTYPE, + {STATE_SELECT_ABTYPE, STATE_INVOKE_ADMIN_DIALOG, STATE_TABLE_SELECTION, STATE_MANUAL_FIELD_MAPPING, - STATE_FINAL_CONFIRM, - WZS_INVALID_STATE + STATE_FINAL_CONFIRM} ); declarePath( PATH_NO_SETTINGS, - STATE_SELECT_ABTYPE, + {STATE_SELECT_ABTYPE, STATE_TABLE_SELECTION, STATE_MANUAL_FIELD_MAPPING, - STATE_FINAL_CONFIRM, - WZS_INVALID_STATE + STATE_FINAL_CONFIRM} ); declarePath( PATH_NO_FIELDS, - STATE_SELECT_ABTYPE, + {STATE_SELECT_ABTYPE, STATE_INVOKE_ADMIN_DIALOG, STATE_TABLE_SELECTION, - STATE_FINAL_CONFIRM, - WZS_INVALID_STATE + STATE_FINAL_CONFIRM} ); declarePath( PATH_NO_SETTINGS_NO_FIELDS, - STATE_SELECT_ABTYPE, + {STATE_SELECT_ABTYPE, STATE_TABLE_SELECTION, - STATE_FINAL_CONFIRM, - WZS_INVALID_STATE + STATE_FINAL_CONFIRM} ); m_pPrevPage->SetHelpId(HID_ABSPILOT_PREVIOUS); |