--- ray/src/ot/oconv.c 1994/02/27 10:16:42 2.7 +++ ray/src/ot/oconv.c 1994/04/14 05:02:06 2.9 @@ -26,8 +26,6 @@ static char SCCSid[] = "$SunId$ LBL"; char *progname; /* argv[0] */ -char *libpath; /* library search path */ - int nowarn = 0; /* supress warnings? */ int objlim = 5; /* # of objects before split */ @@ -58,9 +56,6 @@ char **argv; progname = argv[0] = fixargv0(argv[0]); - if ((libpath = getenv(ULIBVAR)) == NULL) - libpath = DEFPATH; - initotypes(); for (i = 1; i < argc && argv[i][0] == '-'; i++) @@ -104,9 +99,8 @@ breakopt: nfiles = readoct(infile, IO_ALL, &thescene, ofname); if (nfiles == 0) inpfrozen++; - } - - newheader("RADIANCE", stdout); /* new binary file header */ + } else + newheader("RADIANCE", stdout); /* new binary file header */ printargs(argc, argv, stdout); fputformat(OCTFMT, stdout); printf("\n");