| # | Line 429 | Line 429 | main(int argc, char *argv[]) | |
|---|---|---|
| 429 | /* process data */ | |
| 430 | switch (conversion) { | |
| 431 | case CV_FWD: /* distance -> depth code */ | |
| 432 | + | if (!strcmp(dc.depth_unit, "1")) { |
| 433 | + | fputs(progname, stderr); |
| 434 | + | fputs(": warning - using reference depth of 1.0\n", |
| 435 | + | stderr); |
| 436 | + | } |
| 437 | if (!encode_depths(&dc)) | |
| 438 | return 1; | |
| 439 | break; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |