Re: [PATCH] uninitialized variable

2007-09-21 Thread Jean-Marc Lasgouttes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes wrote: > >> Juergen, gcc complains about this variable, and I think it is right. >> Shall I apply to branch and trunk? > > Yes, please. Done. JMarc

Re: [PATCH] uninitialized variable

2007-09-21 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Juergen, gcc complains about this variable, and I think it is right. > Shall I apply to branch and trunk? Yes, please. Jürgen

[PATCH] uninitialized variable

2007-09-21 Thread Jean-Marc Lasgouttes
Juergen, gcc complains about this variable, and I think it is right. Shall I apply to branch and trunk? JMarc svndiff src/LaTeX.cpp Index: src/LaTeX.cpp === --- src/LaTeX.cpp (révision 20408) +++ src/LaTeX.cpp (copie de travail) @@

Re: [PATCH] uninitialized variable

2007-03-13 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> I would not have used one (I always think of structs in the C Georg> sense and use classes if I need something else), but I don't Georg> really care, so please put it in. You're right, I finally used the simpler path. JMarc

Re: [PATCH] uninitialized variable

2007-03-13 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Georg, is that right? Yes. I simply forgot to set it when no preamble was given. > info.feature was not initialized, I set it to > false (or maybe you prefer to avoid constructors for structs?) I would not have used one (I always think of structs in the C sense an

[PATCH] uninitialized variable

2007-03-13 Thread Jean-Marc Lasgouttes
Georg, is that right? info.feature was not initialized, I set it to false (or maybe you prefer to avoid constructors for structs?) JMarc Index: src/encoding.C === --- src/encoding.C (révision 17429) +++ src/encoding.C (copie de trav

Re: [patch] uninitialized variable in tex2lyx

2004-01-07 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Am Dienstag, 6. Januar 2004 23:17 schrieb Lars Gullik Bjønnes: >> >> It seem to me that this must be the correct fix. Can someone please >> verify that. > | The fix is correct. I introduced the error when I split splitLatexLength() | off from translate_le

Re: [patch] uninitialized variable in tex2lyx

2004-01-07 Thread Georg Baum
Am Dienstag, 6. Januar 2004 23:17 schrieb Lars Gullik Bjønnes: > > It seem to me that this must be the correct fix. Can someone please > verify that. The fix is correct. I introduced the error when I split splitLatexLength() off from translate_len(). Georg

[patch] uninitialized variable in tex2lyx

2004-01-06 Thread Lars Gullik Bjønnes
It seem to me that this must be the correct fix. Can someone please verify that. Index: tex2lyx/text.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/tex2lyx/text.C,v retrieving revision 1.30 diff -u -p -b -r1.30 text.C --- tex2l