diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-05-21 02:12:19 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-05-21 02:12:19 +0000 |
commit | 12f013d5fa05b1e684cea13d64cf1d186f20be0b (patch) | |
tree | 3a3e270fb0675921ffbffacbe8bcf0bfb3e6e317 | |
parent | c4af642e100ef559e3e892bd20e5c396e691d327 (diff) | |
download | wireshark-12f013d5fa05b1e684cea13d64cf1d186f20be0b.tar.gz |
workaroung a warning for const that prevents gtk1 builds
svn path=/trunk/; revision=21850
-rw-r--r-- | wiretap/wtap-plugins.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wiretap/wtap-plugins.c b/wiretap/wtap-plugins.c index 6d364c4a98..6ead0467a7 100644 --- a/wiretap/wtap-plugins.c +++ b/wiretap/wtap-plugins.c @@ -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 |