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>2011-02-07 04:13:21 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-07 04:13:21 +0300
commitc9acbc6404e3c8419430a87d4081eba0d886ee42 (patch)
treed28bfd7c4670a85383483e6658ef9c70e594089d
parent55da733eba697f8f09578ca681adb837d98c083d (diff)
- own error with sound unpack operator using NULL pointer
- make stub now creates 'Release' build by default.
-rw-r--r--GNUmakefile2
-rw-r--r--source/blender/editors/sound/sound_ops.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index eb21e0e167a..17aef9075b2 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -60,7 +60,7 @@ all:
if test ! -f $(BUILD_DIR)/CMakeCache.txt ; then \
mkdir -p $(BUILD_DIR) ; \
cd $(BUILD_DIR) ; \
- cmake $(BLENDER_DIR) ; \
+ cmake $(BLENDER_DIR) -DCMAKE_BUILD_TYPE:STRING=Release ; \
fi
@echo
diff --git a/source/blender/editors/sound/sound_ops.c b/source/blender/editors/sound/sound_ops.c
index 004fb33f0dd..30edc659fcb 100644
--- a/source/blender/editors/sound/sound_ops.c
+++ b/source/blender/editors/sound/sound_ops.c
@@ -209,7 +209,7 @@ void SOUND_OT_pack(wmOperatorType *ot)
static int sound_unpack_exec(bContext *C, wmOperator *op)
{
int method= RNA_enum_get(op->ptr, "method");
- bSound* sound;
+ bSound* sound= NULL;
/* find the suppplied image by name */
if (RNA_property_is_set(op->ptr, "id")) {