Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-10-13 17:51:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-10-13 17:51:31 +0400
commit92311505770edcac59440851a2b7a5d823b68690 (patch)
treedeedda5ba64ef8d7391cde6c9bee67c6ad93a03e
parent4f90c880a91c943eb012a142950c58dc75a145ae (diff)
Cleanup: redundant cast
-rw-r--r--source/blender/editors/space_file/fsmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c
index 00d9680f0aa..c117b8c2d3e 100644
--- a/source/blender/editors/space_file/fsmenu.c
+++ b/source/blender/editors/space_file/fsmenu.c
@@ -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);
}