Open Orange23333 opened 1 year ago
https://github.com/pantoniou/libfyaml/blob/ce5149953e043541fb7ecca21691423aaad90513/src/tool/fy-tool.c#L1606C4-L1606C4
progname = argv[0]; progname = strrchr(argv[0], '/');
progname will always be modified by the second line. Is the first line of code redundant?
progname
PR #97 .
https://github.com/pantoniou/libfyaml/blob/ce5149953e043541fb7ecca21691423aaad90513/src/tool/fy-tool.c#L1606C4-L1606C4
progname
will always be modified by the second line. Is the first line of code redundant?