[rhythmbox] podcast: avoid warnings with older compilers



commit 9b243491bcb150d7da3db9c2697238d329e24649
Author: Jonathan Matthew <jonathan d14n org>
Date:   Mon Jun 20 19:55:53 2016 +1000

    podcast: avoid warnings with older compilers
    
    gcc 4.2.1 can't figure out that e and elen are always assigned before
    being used, so make it more obvious.

 podcast/rb-podcast-properties-dialog.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/podcast/rb-podcast-properties-dialog.c b/podcast/rb-podcast-properties-dialog.c
index 7335ae8..c96f867 100644
--- a/podcast/rb-podcast-properties-dialog.c
+++ b/podcast/rb-podcast-properties-dialog.c
@@ -155,6 +155,8 @@ unhtml (const char *str)
        p = str;
        o = out;
        state = NORMAL;
+       e = entity;
+       elen = 0;
        while (*p != '\0') {
                switch (state) {
                case TAG:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]