diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-08-14 16:17:46 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-08-14 16:17:46 +0400 |
commit | 6ab51ef2d7d3736c69adba4206577de83f846987 (patch) | |
tree | 4c34e4d898a9e124a6692b212891e503336e75fd /source/blender/src/outliner.c | |
parent | 7d93e1ec2f79b400c69353355ed0de7092abeed3 (diff) |
Removed useless check from outliner searching code...
This fixes the following compiler warning -
source/blender/src/outliner.c:2242: warning: the address of 'name' will always evaluate as 'true'
Diffstat (limited to 'source/blender/src/outliner.c')
-rw-r--r-- | source/blender/src/outliner.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/outliner.c b/source/blender/src/outliner.c index 34e2798e58b..769f9d852dd 100644 --- a/source/blender/src/outliner.c +++ b/source/blender/src/outliner.c @@ -2239,7 +2239,8 @@ void outliner_find_panel(struct ScrArea *sa, int again, int flags) } } else { - if (name) error("Not found: %s", name); + /* no tree-element found */ + error("Not found: %s", name); } } |