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>2007-10-23 10:24:29 +0400
committerJoshua Leung <aligorith@gmail.com>2007-10-23 10:24:29 +0400
commitbf68055b93dea393cfd9a9db2f0ae945c574bbe0 (patch)
tree5f59e41293a1e31ba6ffbc7415acb114eec3af03 /source/blender/src/editseq.c
parent00237a08e7c7356f0a8d8b740f27d4cca72f98bc (diff)
Compiler warnings silencing - mostly uninitialised vars
Diffstat (limited to 'source/blender/src/editseq.c')
-rw-r--r--source/blender/src/editseq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/editseq.c b/source/blender/src/editseq.c
index 6965faeb000..5dd6bdde6c9 100644
--- a/source/blender/src/editseq.c
+++ b/source/blender/src/editseq.c
@@ -2722,13 +2722,13 @@ void transform_seq(int mode, int context)
unsigned short event = 0;
short mval[2], val, xo, yo, xn, yn;
char str[32];
- char side; /* for extend mode only - use to know which side to extend on */
+ char side= 'L'; /* for extend mode only - use to know which side to extend on */
/* used for extend in a number of places */
int cfra = CFRA;
/* for snapping */
- char snapskip = 0, snap, snap_old;
+ char snapskip = 0, snap, snap_old= 0;
int snapdist_max = seq_get_snaplimit();
/* at the moment there are only 4 possible snap points,
- last_seq (start,end)
@@ -2863,7 +2863,7 @@ void transform_seq(int mode, int context)
snapskip = 0;
} else {
int dist;
- int snap_ofs;
+ int snap_ofs= 0;
int snap_dist= snapdist_max;
/* Get sequence points to snap to the markers */