|
From: | Sebastien Bacher |
Subject: | [ft-devel] ft2demos 2.4.12 build warnings |
Date: | Mon, 13 May 2013 13:46:51 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 |
Hi,Trying to compile ft2demos 2.4.12 on the current Ubuntu, I hit some potentially unitiazialized variable warnings [1] in ftview.c. The following patch fixes the issue, but I'm unsure if the NULL value is problematic to the following calls (it might be better to add a default: case to the switch and set values there)
Cheers, Sebastien Bacher(sorry for the direct Cc, I'm not subscribed to the list and I'm not sure if sending the email there will work)
[1] e.g "ftview.c:1590:24: error: ‘lcd_mode’ may be used uninitialized in this function [-Werror=maybe-uninitialized]"
ft-init-vaiables.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |