summaryrefslogtreecommitdiffstats
path: root/source/helper.c
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2015-08-29 11:56:50 +0200
committerQC <qball@gmpclient.org>2015-08-29 11:57:04 +0200
commit89dcb5be1edc6b70cf7ee5120b62dae3100f1c3d (patch)
treeccfdbf1a8415d80353b505156a3628ec5959ab3c /source/helper.c
parentae3c8c764fab7524501575db5c5c33a72b30d198 (diff)
Remove unused function
Diffstat (limited to 'source/helper.c')
-rw-r--r--source/helper.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source/helper.c b/source/helper.c
index 9040b735..b18de247 100644
--- a/source/helper.c
+++ b/source/helper.c
@@ -224,19 +224,6 @@ int find_arg_str ( const char * const key, char** val )
}
return FALSE;
}
-int find_arg_str_alloc ( const char * const key, char** val )
-{
- int i = find_arg ( key );
-
- if ( val != NULL && i > 0 && i < stored_argc - 1 ) {
- if ( *val != NULL ) {
- g_free ( *val );
- }
- *val = g_strdup ( stored_argv[i + 1] );
- return TRUE;
- }
- return FALSE;
-}
int find_arg_int ( const char * const key, int *val )
{