Subject: Question of Style
To: BSD Current Users <firstname.lastname@example.org>
From: Greywolf <email@example.com>
Date: 07/02/2000 12:10:00
I have a question of style which doesn't seem to be answered by the
style document on line.
In system sources, stock, is it considered bad practice to declare
variables local to a block within a function if the variable will only
fall into use if a particular run-time flag is given, i.e. is it
preferable to declare all involved variables ahead of time?
I'm wondering because I'm building patches to dump(8) which make use
of an mtop structure only if a particular command line flag is given.
BSD: The World's Most Portable Operating System