From 3ab4e005bd56e9265aa3870c5458a6caebdbcfa9 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Wed, 25 Oct 2006 09:47:19 +0000 Subject: [PATCH] (get_counts): use multibyte variable. --- ChangeLog | 2 ++ lily/source-file.cc | 1 + 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 348657c118..7f0a443adf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-10-25 Han-Wen Nienhuys + * lily/source-file.cc (get_counts): use multibyte variable. + * scm/translation-functions.scm (determine-frets-mf): new function: compute fret numbers. diff --git a/lily/source-file.cc b/lily/source-file.cc index 57d67b464b..bb38ffdb09 100644 --- a/lily/source-file.cc +++ b/lily/source-file.cc @@ -286,6 +286,7 @@ Source_file::get_counts (char const *pos_str0, size_t thislen = mbrtowc (multibyte, line_chars, left, &state); #else size_t thislen = 1; + (void) multibyte; #endif /* !HAVE_MBRTOWC */ /* Stop converting at invalid character; -- 2.39.2