workaroung a warning for const that prevents gtk1 builds

svn path=/trunk/; revision=21850
This commit is contained in:
Ronnie Sahlberg 2007-05-21 02:12:19 +00:00
parent c4af642e10
commit 12f013d5fa
1 changed files with 2 additions and 1 deletions

View File

@ -94,13 +94,14 @@ void wtap_load_plugins(char* dirname) {
lt_lib_ext = strrchr(hack_path, '.');
if (lt_lib_ext == NULL)
{
gchar null_str[1] = {0};
/*
* Does this mean there *is* no extension? Assume so.
*
* XXX - the code below assumes that all loadable modules have
* an extension....
*/
lt_lib_ext = "";
lt_lib_ext = null_str;
}
#endif