Thread (2 messages) 2 messages, 2 authors, 2007-08-08

Re: [PATCH/RFC] fbdev: fb_create_modedb() non-static `int first = 1; '

From: "Antonino A. Daplas" <adaplas@gmail.com>
Date: 2007-08-08 21:27:06

On Wed, 2007-08-08 at 14:11 +0200, Geert Uytterhoeven wrote:
quoted
From looking at the code flow, `int first' in fb_create_modedb() should be
static.

Signed-off-by: Geert Uytterhoeven <redacted>
---
Or should it be initialized to 1 outside the loop?
It should be outside the loop.  Thanks.

Tony



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help