mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
desktop-widgets: replace (void) with no parameter name
Unused parameters in C++ are "silenced" by removing the name. Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
12b4f2235b
commit
cb9951a484
2 changed files with 1 additions and 3 deletions
|
@ -1044,8 +1044,7 @@ void DiveListView::updateLastImageTimeOffset(const int offset)
|
|||
s.setValue("LastImageTimeOffset", offset);
|
||||
}
|
||||
|
||||
void DiveListView::mouseDoubleClickEvent(QMouseEvent * event)
|
||||
void DiveListView::mouseDoubleClickEvent(QMouseEvent*)
|
||||
{
|
||||
(void) event;
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -415,7 +415,6 @@ void SubsurfaceWebServices::buttonClicked(QAbstractButton *button)
|
|||
struct dive *d;
|
||||
struct dive_site *ds;
|
||||
bool changed = false;
|
||||
(void)changed;
|
||||
clear_table(&gps_location_table);
|
||||
QByteArray url = tr("Webservice").toUtf8();
|
||||
parse_xml_buffer(url.data(), downloadedData.data(), downloadedData.length(), &gps_location_table, NULL);
|
||||
|
|
Loading…
Add table
Reference in a new issue