Return a string (even though abort is called first) to pacify gcc.

svn path=/trunk/; revision=35724
This commit is contained in:
Martin Mathieson 2011-01-31 16:38:40 +00:00
parent 0855affbec
commit 9ca092db13
1 changed files with 1 additions and 0 deletions

View File

@ -670,6 +670,7 @@ const char *wtap_file_type_string(int filetype)
if (filetype < 0 || filetype >= wtap_num_file_types) {
g_error("Unknown capture file type %d", filetype);
/** g_error() does an abort() and thus never returns **/
return "";
} else
return dump_open_table[filetype].name;
}