- fix for missing include dir in MSVC 7 project files
authorAndrea Weikert <elubie@gmx.net>
Sun, 19 Aug 2007 11:15:33 +0000 (11:15 +0000)
committerAndrea Weikert <elubie@gmx.net>
Sun, 19 Aug 2007 11:15:33 +0000 (11:15 +0000)
- small warning fix for unreferenced variable.

projectfiles_vc7/blender/ftfont/FTF_ftfont.vcproj
source/blender/blenloader/intern/writefile.c

index 6bbd13686d4f4c85a61c6d1cf46c28e5fa6b79b0..ef756c7b67fa5bfea7e052cc7dd710fd2a80b05c 100644 (file)
@@ -74,7 +74,7 @@
                        <Tool
                                Name="VCCLCompilerTool"
                                Optimization="0"
-                               AdditionalIncludeDirectories="..\..\..\..\lib\windows\freetype\include;..\..\..\..\build\msvc_7\extern\ftgl\include;..\..\..\..\lib\windows\gettext\include;..\..\..\source\blender\blenlib;..\..\..\source\blender\makesdna"
+                               AdditionalIncludeDirectories="..\..\..\..\lib\windows\freetype\include;..\..\..\..\build\msvc_7\extern\ftgl\include;..\..\..\..\lib\windows\gettext\include;..\..\..\source\blender\blenlib;..\..\..\source\blender\makesdna;..\..\..\source\blender\include"
                                PreprocessorDefinitions="WIN32,_DEBUG,_LIB,WCHAR_T16,HAVE_LC_MESSAGES,FTGL_LIBRARY_STATIC"
                                BasicRuntimeChecks="3"
                                RuntimeLibrary="1"
index 925233b4d77ec3c4dbfd4dc8bd4768940b19037c..ee914954b90a584e3b01a346c13b215c1d2af34e 100644 (file)
@@ -1226,7 +1226,7 @@ static void write_images(WriteData *wd, ListBase *idbase)
 {
        Image *ima;
        PackedFile * pf;
-       PreviewImage *prv;
+
 
        ima= idbase->first;
        while(ima) {
@@ -1242,7 +1242,7 @@ static void write_images(WriteData *wd, ListBase *idbase)
                        }
 
                        if (ima->preview) {
-                               prv = ima->preview;
+                               PreviewImage *prv = ima->preview;
                                writestruct(wd, DATA, "PreviewImage", 1, prv);
                                writedata(wd, DATA, prv->w*prv->h*sizeof(unsigned int), prv->rect);
                        }