summaryrefslogtreecommitdiffstats
path: root/source/helper.c
diff options
context:
space:
mode:
authorQball Cow <qball@gmpclient.org>2015-02-17 14:27:12 +0100
committerQball Cow <qball@gmpclient.org>2015-02-17 14:27:12 +0100
commit3b18c28792387fc0e167b12e1335874a8a52f264 (patch)
treeb382ebb0b1371376ca680c62844a1b184c237ca1 /source/helper.c
parenta534a0f244c4096177ce116ff58276055074deef (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 f439529e..43683220 100644
--- a/source/helper.c
+++ b/source/helper.c
@@ -217,19 +217,6 @@ int find_arg_str ( const int argc, char * const argv[], const char * const key,
}
return FALSE;
}
-int find_arg_str_alloc ( const int argc, char * const argv[], const char * const key, char** val )
-{
- int i = find_arg ( argc, argv, key );
-
- if ( val != NULL && i > 0 && i < argc - 1 ) {
- if ( *val != NULL ) {
- g_free ( *val );
- }
- *val = g_strdup ( argv[i + 1] );
- return TRUE;
- }
- return FALSE;
-}
int find_arg_int ( const int argc, char * const argv[], const char * const key, int *val )
{