mirror of
https://github.com/open-simh/simtools.git
synced 2026-05-01 22:05:56 +00:00
Simple warning fixes (#4)
* Fix warnings in config11 * Fix warnings in converters/asc * Fix warning in converters/decsys * Fix warning in converters/dtos8cvt * Fix strncpy() warning * Fix unsigned/signed warning * Fix assignment-within-if warning * Fix assignment-within-if warning * Fix unused `main` parameters warnings * Fix assignment-within-if warning * Fix assignment-within-if warning * Fix assignment-within-if warning * Fix assignment-within-if warning * Fix assignment-within-if warning * Fix assignment-within-if warning * config11: Remove accidentally committed debugging code --------- Co-authored-by: Jan-Benedict Glaw <jbglaw@getslash.de>
This commit is contained in:
committed by
GitHub
parent
6d66f3b9d2
commit
a58983117c
@@ -46,8 +46,10 @@ if (argc < 2) {
|
||||
|
||||
for (i = 1; i < argc; i++) {
|
||||
strcpy (oname, argv[i]);
|
||||
if (ppos = strrchr (oname, '.')) strcpy (ppos, ".tpc");
|
||||
else strcat (oname, ".tpc");
|
||||
if ((ppos = strrchr (oname, '.')))
|
||||
strcpy (ppos, ".tpc");
|
||||
else
|
||||
strcat (oname, ".tpc");
|
||||
ifile = fopen (argv[i], "rb");
|
||||
if (ifile == NULL) {
|
||||
printf ("Error opening file: %s\n", argv[i]);
|
||||
|
||||
Reference in New Issue
Block a user