mirror of
https://github.com/transmission/transmission
synced 2025-03-16 00:39:34 +00:00
(trunk gtk) icons.c: silence a couple of compiler warnings on older systems
This commit is contained in:
parent
1eaf40f0ca
commit
9d04f8906c
1 changed files with 3 additions and 2 deletions
|
@ -14,11 +14,11 @@
|
|||
|
||||
#define VOID_PIXBUF_KEY "void-pixbuf"
|
||||
|
||||
static GHashTable *static_strings = NULL;
|
||||
|
||||
#ifdef HAVE_GIO
|
||||
static const char *
|
||||
get_static_string( const char *s )
|
||||
{
|
||||
static GHashTable *static_strings = NULL;
|
||||
const char *result;
|
||||
|
||||
if ( s == NULL )
|
||||
|
@ -36,6 +36,7 @@ get_static_string( const char *s )
|
|||
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Add table
Reference in a new issue