[gthumb] fixed compiler warnings
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] fixed compiler warnings
- Date: Tue, 25 Oct 2011 14:53:54 +0000 (UTC)
commit b4f6d00cc8159b8d74d715bee658f5e4056052ab
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Oct 16 13:19:18 2011 +0200
fixed compiler warnings
extensions/jpeg_utils/jpegtran.c | 1 +
gthumb/gth-histogram-view.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/extensions/jpeg_utils/jpegtran.c b/extensions/jpeg_utils/jpegtran.c
index 6831b91..5aefcfa 100644
--- a/extensions/jpeg_utils/jpegtran.c
+++ b/extensions/jpeg_utils/jpegtran.c
@@ -159,6 +159,7 @@ jpegtran_internal (struct jpeg_decompress_struct *srcinfo,
switch (transformation) {
case GTH_TRANSFORM_NONE:
+ default:
transform = JXFORM_NONE;
break;
case GTH_TRANSFORM_FLIP_H:
diff --git a/gthumb/gth-histogram-view.c b/gthumb/gth-histogram-view.c
index 2e877d4..ba46e73 100644
--- a/gthumb/gth-histogram-view.c
+++ b/gthumb/gth-histogram-view.c
@@ -581,7 +581,7 @@ histogram_view_scroll_event_cb (GtkWidget *widget,
gpointer user_data)
{
GthHistogramView *self = user_data;
- int channel;
+ int channel = 0;
if (self->priv->histogram == NULL)
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]