Remove two uninitialized and unused variables that used to cause a

segfault before.
This commit is contained in:
Joerg Wunsch
1996-11-19 23:21:52 +00:00
parent 2832011fa2
commit b0fa330d5f
+2 -3
View File
@@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: tzsetup.c,v 1.1 1996/11/19 18:09:40 wollman Exp $
*/
/*
@@ -617,7 +617,6 @@ int
main(int argc, char **argv)
{
int c;
int ch, sc;
while ((c = getopt(argc, argv, "n")) != -1) {
switch(c) {
@@ -644,7 +643,7 @@ main(int argc, char **argv)
init_dialog();
dialog_menu("Time Zone Selector", "Select a region", -1, -1,
NCONTINENTS, -NCONTINENTS, continents, 0, &ch, &sc);
NCONTINENTS, -NCONTINENTS, continents, 0, NULL, NULL);
end_dialog();
return 0;
}