From c8c2671c50024c950c6d89a006ff95e35a17d42f Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 27 Mar 2007 12:51:47 +0000 Subject: [PATCH] fix uninitialized variable git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17590 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/text.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text.C b/src/text.C index 9b1f3ffd24..9b37eaa07c 100644 --- a/src/text.C +++ b/src/text.C @@ -1094,7 +1094,7 @@ void LyXText::changeCase(LCursor & cur, LyXText::TextCase action) bool const trackChanges = cur.buffer().params().trackChanges; - pos_type right; // needed after the for loop + pos_type right = 0; // needed after the for loop for (pit_type pit = begPit; pit <= endPit; ++pit) { pos_type parSize = pars_[pit].size();