summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tzsetup/tzsetup.c
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1996-11-19 23:21:52 +0000
committerjoerg <joerg@FreeBSD.org>1996-11-19 23:21:52 +0000
commitbaa06efe57cfea211ed87fc6b014de03c025162c (patch)
treeb91c2e5795fc757bda8012bc69e565afe62793ea /usr.sbin/tzsetup/tzsetup.c
parent1c00ce6ecff0faa3e7a0ee11427fbcc07870c1a2 (diff)
downloadFreeBSD-src-baa06efe57cfea211ed87fc6b014de03c025162c.zip
FreeBSD-src-baa06efe57cfea211ed87fc6b014de03c025162c.tar.gz
Remove two uninitialized and unused variables that used to cause a
segfault before.
Diffstat (limited to 'usr.sbin/tzsetup/tzsetup.c')
-rw-r--r--usr.sbin/tzsetup/tzsetup.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/tzsetup/tzsetup.c b/usr.sbin/tzsetup/tzsetup.c
index f0a60cc..d3f06bc 100644
--- a/usr.sbin/tzsetup/tzsetup.c
+++ b/usr.sbin/tzsetup/tzsetup.c
@@ -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;
}
OpenPOWER on IntegriCloud