Depending on the size of the code and the number of variables used in it, scanning the code for initializations can take an unacceptably long time. If so, use a compiler that provides facilities for trapping variables that are used before being initialized.