Cleanup: redundant cast

This commit is contained in:
Campbell Barton 2014-10-13 15:51:31 +02:00
parent 4f90c880a9
commit 9231150577
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ void fsmenu_read_system(struct FSMenu *fsmenu, int read_bookmarks)
/* Exclude "all my files" as it makes no sense in blender fileselector */
/* Exclude "airdrop" if wlan not active as it would show "" ) */
if (!strstr((char *)line, "myDocuments.cannedSearch") && (strcmp((char *)line, ""))) {
if (!strstr(line, "myDocuments.cannedSearch") && (*line != '\0')) {
fsmenu_insert_entry(fsmenu, FS_CATEGORY_SYSTEM_BOOKMARKS, line, NULL);
}