aboutsummaryrefslogtreecommitdiffstats
path: root/core/ios.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@libreoffice.org>2018-05-21 17:36:04 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-21 12:48:04 -0700
commita312e53f0ce47dd2797070dff37e51fbfafd489a (patch)
treebb603a4ffafc2dea632a587e6cc5b7cdb91f73ca /core/ios.cpp
parent034f9a6ca2eabcc4714214ca07207509b00e39a2 (diff)
downloadsubsurface-a312e53f0ce47dd2797070dff37e51fbfafd489a.tar.gz
core: Change Q_UNUSED to no parameter name
C++ permits use of parameters without name, which signals unused Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/ios.cpp')
-rw-r--r--core/ios.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/core/ios.cpp b/core/ios.cpp
index 1958183fa..b951f4901 100644
--- a/core/ios.cpp
+++ b/core/ios.cpp
@@ -29,17 +29,15 @@ void subsurface_OS_pref_setup(void)
// nothing
}
-bool subsurface_ignore_font(const char *font)
+bool subsurface_ignore_font(const char*)
{
// there are no old default fonts that we would want to ignore
- Q_UNUSED(font);
return false;
}
-void subsurface_user_info(struct user_info *user)
+void subsurface_user_info(struct user_info *)
{
- // We use of at least libgit2-0.20
- Q_UNUSED(user);
+ // We use of at least libgit2-0.20
}
static const char *system_default_path_append(const char *append)
@@ -70,12 +68,9 @@ const char *system_default_filename(void)
return path;
}
-int enumerate_devices(device_callback_t callback, void *userdata, int dc_type)
+int enumerate_devices(device_callback_t, void *, int)
{
// we can't read from devices on iOS
- Q_UNUSED(callback)
- Q_UNUSED(userdata)
- Q_UNUSED(dc_type)
return -1;
}