be_lower_for_target is now a simple function in the public API
[libfirm] / ir / stat / counter.h
index d43936b..f93e5c1 100644 (file)
@@ -36,7 +36,7 @@
 #define STAT_CNT_NUM 1
 #endif
 
-typedef struct _counter_t {
+typedef struct counter_t {
        unsigned cnt[STAT_CNT_NUM];
 } counter_t;
 
@@ -121,7 +121,8 @@ static inline void cnt_add_i(counter_t *dst, int src)
 static inline int cnt_cmp(const counter_t *a, const counter_t *b)
 {
        int i;
-       unsigned va, vb;
+       unsigned va = 0;
+       unsigned vb = 0;
 
        for (i = STAT_CNT_NUM - 1 ; i >= 0; --i) {
                va = a->cnt[i];