Posted Jun 29, 2006 17:16 UTC (Thu) by ncm (subscriber, #165)
[Link]
No, it's just defining two variables, and leaving one uninitialized. In C++ code this would be bad form, but in C89 you have to define variables at the top of the block, often before you're ready to initialize them to anything useful. The kernel isn't coded in C89, though; it requires Gcc. With recent releases of Gcc, if run with C99 support turned on, variables can be defined in the middle of a block. It's really only inertia supporting this unfortunate practice.
Request clue-bat
Posted Apr 11, 2007 19:33 UTC (Wed) by jengelh (subscriber, #33263)
[Link]