Hello,
Cppcheck reported this:
vcl/coretext/salcoretextlayout.cxx
569 unreadVariable style Variable 'is_vertical_run' is assigned a value
that
is never used.
565 bool is_vertical_run = false;
566 CFDictionaryRef aDict = CTRunGetAttributes( run
);
567 if ( aDict ) {
568 const CFBooleanRef aValue = (const
CFBooleanRef)CFDictionaryGetValue( aDict, kCTVerticalFormsAttributeName );
569 is_vertical_run = (aValue ==
kCFBooleanTrue) ? true : false;
570 }
See
http://opengrok.libreoffice.org/xref/core/vcl/coretext/salcoretextlayout.cxx#565
Should "vertical_run" variable just be removed or should it be used in a
way?
Julien
--
View this message in context:
http://nabble.documentfoundation.org/Cppcheck-is-vertical-run-is-assigned-a-value-that-is-never-used-vcl-module-tp4037884.html
Sent from the Dev mailing list archive at Nabble.com.
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice