[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11434] branches/imgbrowser-elubie/source/ blender: == imagebrowser ==
Andrea Weikert
elubie at gmx.net
Mon Jul 30 21:20:48 CEST 2007
Revision: 11434
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11434
Author: elubie
Date: 2007-07-30 21:20:47 +0200 (Mon, 30 Jul 2007)
Log Message:
-----------
== imagebrowser ==
- warning fixes, mostly unused variables
Modified Paths:
--------------
branches/imgbrowser-elubie/source/blender/blenkernel/intern/icons.c
branches/imgbrowser-elubie/source/blender/blenloader/intern/readblenentry.c
branches/imgbrowser-elubie/source/blender/imbuf/intern/png.c
branches/imgbrowser-elubie/source/blender/imbuf/intern/thumbs.c
branches/imgbrowser-elubie/source/blender/src/editimasel.c
branches/imgbrowser-elubie/source/blender/src/filelist.c
branches/imgbrowser-elubie/source/blender/src/interface_icons.c
Modified: branches/imgbrowser-elubie/source/blender/blenkernel/intern/icons.c
===================================================================
--- branches/imgbrowser-elubie/source/blender/blenkernel/intern/icons.c 2007-07-30 18:27:11 UTC (rev 11433)
+++ branches/imgbrowser-elubie/source/blender/blenkernel/intern/icons.c 2007-07-30 19:20:47 UTC (rev 11434)
@@ -163,8 +163,6 @@
void BKE_previewimg_free_id(ID *id)
{
- PreviewImage* prv_img = NULL;
-
if (GS(id->name) == ID_MA) {
Material *mat = (Material*)id;
BKE_previewimg_free(&mat->preview);
Modified: branches/imgbrowser-elubie/source/blender/blenloader/intern/readblenentry.c
===================================================================
--- branches/imgbrowser-elubie/source/blender/blenloader/intern/readblenentry.c 2007-07-30 18:27:11 UTC (rev 11433)
+++ branches/imgbrowser-elubie/source/blender/blenloader/intern/readblenentry.c 2007-07-30 19:20:47 UTC (rev 11434)
@@ -234,7 +234,6 @@
if (bhead->code==ofblocktype) {
ID *id= (ID*) (bhead+1);
if (GS(id->name) == ID_MA) {
- Material *mat = (Material*)id;
new_prv = MEM_callocN(sizeof(PreviewImage), "newpreview");
BLI_linklist_prepend(&previews, new_prv);
looking = 1;
Modified: branches/imgbrowser-elubie/source/blender/imbuf/intern/png.c
===================================================================
--- branches/imgbrowser-elubie/source/blender/imbuf/intern/png.c 2007-07-30 18:27:11 UTC (rev 11433)
+++ branches/imgbrowser-elubie/source/blender/imbuf/intern/png.c 2007-07-30 19:20:47 UTC (rev 11434)
@@ -101,7 +101,6 @@
{
png_structp png_ptr;
png_infop info_ptr;
- png_textp text_ptr;
unsigned char *pixels = 0;
unsigned char *from, *to;
@@ -227,7 +226,6 @@
png_text* imginfo;
ImgInfo* iptr;
int num_text = 0;
- int i;
iptr = ibuf->img_info;
while (iptr) {
num_text++;
Modified: branches/imgbrowser-elubie/source/blender/imbuf/intern/thumbs.c
===================================================================
--- branches/imgbrowser-elubie/source/blender/imbuf/intern/thumbs.c 2007-07-30 18:27:11 UTC (rev 11433)
+++ branches/imgbrowser-elubie/source/blender/imbuf/intern/thumbs.c 2007-07-30 19:20:47 UTC (rev 11434)
@@ -219,8 +219,6 @@
static int thumbpath_from_uri(const char* uri, char* path, ThumbSize size)
{
- char hexdigest[33];
- unsigned char digest[16];
char tmppath[FILE_MAX];
int rv = 0;
Modified: branches/imgbrowser-elubie/source/blender/src/editimasel.c
===================================================================
--- branches/imgbrowser-elubie/source/blender/src/editimasel.c 2007-07-30 18:27:11 UTC (rev 11433)
+++ branches/imgbrowser-elubie/source/blender/src/editimasel.c 2007-07-30 19:20:47 UTC (rev 11434)
@@ -797,8 +797,6 @@
char str[FILE_MAXDIR+FILE_MAXFILE+12];
short mval[2];
short do_draw = 0;
- int ret = 0;
- static double prevtime=0;
int numfiles;
struct direntry *file;
float scrollstep = 0;
Modified: branches/imgbrowser-elubie/source/blender/src/filelist.c
===================================================================
--- branches/imgbrowser-elubie/source/blender/src/filelist.c 2007-07-30 18:27:11 UTC (rev 11433)
+++ branches/imgbrowser-elubie/source/blender/src/filelist.c 2007-07-30 19:20:47 UTC (rev 11434)
@@ -459,7 +459,6 @@
ImBuf *imb = NULL;
int imgwidth = filelist->prv_w;
int imgheight = filelist->prv_h;
- char wdir[FILE_MAXDIR];
short ex, ey, dx, dy;
float scaledx, scaledy;
Modified: branches/imgbrowser-elubie/source/blender/src/interface_icons.c
===================================================================
--- branches/imgbrowser-elubie/source/blender/src/interface_icons.c 2007-07-30 18:27:11 UTC (rev 11433)
+++ branches/imgbrowser-elubie/source/blender/src/interface_icons.c 2007-07-30 19:20:47 UTC (rev 11434)
@@ -893,7 +893,7 @@
if (!di) return;
if (!prv_img) {
- printf("No preview image for this ID: $s\n", id->name);
+ printf("No preview image for this ID: %s\n", id->name);
return;
}
More information about the Bf-blender-cvs
mailing list