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
path: root/source
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2010-03-26 06:10:58 +0300
committerJoshua Leung <aligorith@gmail.com>2010-03-26 06:10:58 +0300
commit386e97f73a891f7162cc578d05cf5720ef51df14 (patch)
treeae55345a1696bf92681ec298f28fc6029d7b6680 /source
parent3c872daa59774abaf3f53acaa2baf876e54308a5 (diff)
Purging compiler warnings
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/pointcache.c5
-rw-r--r--source/blender/editors/transform/transform_conversions.c1
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/pointcache.c b/source/blender/blenkernel/intern/pointcache.c
index 9f0c7289350..cbe294f1347 100644
--- a/source/blender/blenkernel/intern/pointcache.c
+++ b/source/blender/blenkernel/intern/pointcache.c
@@ -1687,7 +1687,7 @@ int BKE_ptcache_write_cache(PTCacheID *pid, int cfra)
return 0;
if(cache->flag & PTCACHE_DISK_CACHE) {
- int ofra, efra = cache->endframe;
+ int ofra=0, efra = cache->endframe;
if(cfra==0)
add = 1;
@@ -2871,4 +2871,5 @@ void BKE_ptcache_invalidate(PointCache *cache)
cache->flag &= ~PTCACHE_SIMULATION_VALID;
cache->simframe = 0;
cache->last_exact = 0;
-} \ No newline at end of file
+}
+
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c
index eed6c65362c..96616f57575 100644
--- a/source/blender/editors/transform/transform_conversions.c
+++ b/source/blender/editors/transform/transform_conversions.c
@@ -4158,7 +4158,6 @@ static void createTransSeqData(bContext *C, TransInfo *t)
static void ObjectToTransData(bContext *C, TransInfo *t, TransData *td, Object *ob)
{
Scene *scene = t->scene;
- Object *track;
float obmtx[3][3];
short constinv;
short skip_invert = 0;