Re: [PATCH] Reduce warnings with Apple clang in InsetMathScript.cpp

2021-07-16 Thread Stephan Witt
Am 16.07.2021 um 18:37 schrieb Jean-Marc Lasgouttes : > > Le 16/07/2021 à 18:24, Stephan Witt a écrit : >> Hi Thibaut, >> the Apple clang compiler spits warnings for InsetMathScript.cpp: > > Hi Stephan, > > I was about to push the following patch :) I'll let you decide what to do. Ha, that’s fu

Re: [PATCH] Reduce warnings with Apple clang in InsetMathScript.cpp

2021-07-16 Thread Jean-Marc Lasgouttes
Le 16/07/2021 à 18:24, Stephan Witt a écrit : Hi Thibaut, the Apple clang compiler spits warnings for InsetMathScript.cpp: Hi Stephan, I was about to push the following patch :) I'll let you decide what to do. JMarc /Users/lyx/Development/lyx/src/mathed/InsetMathScript.cpp:619:11: warn

[PATCH] Reduce warnings with Apple clang in InsetMathScript.cpp

2021-07-16 Thread Stephan Witt
Hi Thibaut, the Apple clang compiler spits warnings for InsetMathScript.cpp: /Users/lyx/Development/lyx/src/mathed/InsetMathScript.cpp:619:11: warning: variable 'tag' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if (d) ^ /User