neomagic: fixed a warning about an uninitialized variable.

This commit is contained in:
Jérôme Duval 2013-10-03 17:16:28 +02:00
parent b449921515
commit fa49d9714d

View File

@ -205,7 +205,7 @@ status_t nm_dac_pix_pll_find
{ {
int m = 0, n = 0, p = 0, n_max, m_max; int m = 0, n = 0, p = 0, n_max, m_max;
float error, error_best = 999999999; float error, error_best = 999999999;
int best[2]; int best[2] = { 0, 0 };
float f_vco, max_pclk; float f_vco, max_pclk;
float req_pclk = target.timing.pixel_clock/1000.0; float req_pclk = target.timing.pixel_clock/1000.0;