]> git.cworth.org Git - scherzo/blobdiff - score.c
Add a few initializations to quiet compiler warnings.
[scherzo] / score.c
diff --git a/score.c b/score.c
index fe7622d85e4acd5c4fc45cd707df961017995380..9ef75bdf69f64e00b7a7ba248adb54e947467902 100644 (file)
--- a/score.c
+++ b/score.c
@@ -425,7 +425,8 @@ score_draw (score_t *score, cairo_t *cr)
 
     if (score->num_braces)
     {
-       int brace_width;
+       /* Initialize to keep the compiler quiet. */
+       int brace_width = 0;
 
        for (i = 0; i < score->num_braces; i++)
            _draw_brace (score, cr, score->braces[i], &brace_width);