neomagic: fixed a warning about an uninitialized variable.
This commit is contained in:
@@ -205,7 +205,7 @@ status_t nm_dac_pix_pll_find
|
||||
{
|
||||
int m = 0, n = 0, p = 0, n_max, m_max;
|
||||
float error, error_best = 999999999;
|
||||
int best[2];
|
||||
int best[2] = { 0, 0 };
|
||||
float f_vco, max_pclk;
|
||||
float req_pclk = target.timing.pixel_clock/1000.0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user