summaryrefslogtreecommitdiffstats
path: root/source/dialogs
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-07-29 08:32:34 +0200
committerDave Davenport <qball@gmpclient.org>2016-07-29 08:32:34 +0200
commit4be25abad7d04d29cb0448c9676364f3bb15f984 (patch)
treede76fccde605ccf3cf9a35626bd2a0fcc882eea3 /source/dialogs
parentd6e1e4a914be63e803e4503bba0c23b3cabc87e6 (diff)
Fix some doxygen warnings.
Diffstat (limited to 'source/dialogs')
-rw-r--r--source/dialogs/run.c3
-rw-r--r--source/dialogs/ssh.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/source/dialogs/run.c b/source/dialogs/run.c
index 523a0b4e..6dd2010f 100644
--- a/source/dialogs/run.c
+++ b/source/dialogs/run.c
@@ -151,12 +151,13 @@ static void delete_entry ( const char *cmd )
/**
* @param a The First key to compare
* @param b The second key to compare
+ * @param data Unused.
*
* Function used for sorting.
*
* @returns returns less then, equal to and greater than zero is a is less than, is a match or greater than b.
*/
-static int sort_func ( const void *a, const void *b, void *data __attribute__( ( unused ) ) )
+static int sort_func ( const void *a, const void *b, G_GNUC_UNUSED void *data )
{
const char *astr = *( const char * const * ) a;
const char *bstr = *( const char * const * ) b;
diff --git a/source/dialogs/ssh.c b/source/dialogs/ssh.c
index 331e5431..397893dc 100644
--- a/source/dialogs/ssh.c
+++ b/source/dialogs/ssh.c
@@ -473,8 +473,6 @@ static char *_get_display_value ( const Mode *sw, unsigned int selected_line, G_
/**
* @param sw Object handle to the SSH Mode object
* @param tokens The set of tokens to match against
- * @param not_ascii If the entry is pure-ascii
- * @param case_sensitive If the entry should be matched case sensitive
* @param index The index of the entry to match
*
* Match entry against the set of tokens.