mirror of
https://github.com/morgant/mlclock.git
synced 2024-11-27 21:49:27 +00:00
Fixed warning re:unused parameter in readrc()
This commit is contained in:
parent
ebc53bb8cb
commit
ab66e82584
@ -263,7 +263,7 @@ void readrc() {
|
|||||||
|
|
||||||
if ( (file = fopen(RCFile, "r")) == NULL ) {
|
if ( (file = fopen(RCFile, "r")) == NULL ) {
|
||||||
fprintf(stderr, "Can't open \"%s\" file.\n", RCFile);
|
fprintf(stderr, "Can't open \"%s\" file.\n", RCFile);
|
||||||
fprintf(stderr, "Now making rc file.\n", RCFile);
|
fprintf(stderr, "Now making rc file '%s'.\n", RCFile);
|
||||||
|
|
||||||
if ( (file = fopen(RCFile, "a")) == NULL )
|
if ( (file = fopen(RCFile, "a")) == NULL )
|
||||||
fprintf(stderr, "You can't make rc file in your own dirctory.\n");
|
fprintf(stderr, "You can't make rc file in your own dirctory.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user