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:
authorJoshua Leung <aligorith@gmail.com>2008-03-07 06:24:23 +0300
committerJoshua Leung <aligorith@gmail.com>2008-03-07 06:24:23 +0300
commitb4e13ae575b886d245c4953150cd23edbf91c4ba (patch)
tree48ed9cbca2f4006ff9412294b3fc37f475b4067f /source/blender/src/drawscript.c
parent5ea3956e4e6398fe27a4ce7d6b1c5a1a29134c40 (diff)
Another big purge of warnings. (Main culprits this time were Campbell and Geoffrey):
* no newline at end of file (2-3) * uninitialised vars (1) * unused vars (1-2) * assigning/comparing pointers and ints (numerous) * etc.
Diffstat (limited to 'source/blender/src/drawscript.c')
-rw-r--r--source/blender/src/drawscript.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawscript.c b/source/blender/src/drawscript.c
index 70ae4b1c94d..b6ea63ca695 100644
--- a/source/blender/src/drawscript.c
+++ b/source/blender/src/drawscript.c
@@ -97,7 +97,7 @@ void drawscriptspace(ScrArea *sa, void *spacedata)
/* Is this script loaded from a file and it needs running??? */
if ( (G.f & G_DOSCRIPTLINKS) &&
script->scriptname[0] != '\0' &&
- (script->flags == NULL &&
+ (script->flags == 0 &&
script->py_event == NULL &&
script->py_button == NULL &&
script->py_draw == NULL )
@@ -130,7 +130,7 @@ void winqreadscriptspace(struct ScrArea *sa, void *spacedata, struct BWinEvent *
/* Is this script loaded from a file and it needs running??? */
if ( (G.f & G_DOSCRIPTLINKS) &&
script->scriptname[0] != '\0' &&
- (script->flags == NULL &&
+ (script->flags == 0 &&
script->py_event == NULL &&
script->py_button == NULL &&
script->py_draw == NULL )