mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-04 16:59:02 +00:00
fixed invalid return type
This commit is contained in:
@@ -417,12 +417,12 @@ void SetBoolYAMLValue(bool *dest, char *key, ctr_yaml_context *ctx)
|
|||||||
if(!EventIsScalar(ctx)){
|
if(!EventIsScalar(ctx)){
|
||||||
fprintf(stderr,"[RSF ERROR] '%s' requires a value\n",key);
|
fprintf(stderr,"[RSF ERROR] '%s' requires a value\n",key);
|
||||||
ctx->error = YAML_BAD_FORMATTING;
|
ctx->error = YAML_BAD_FORMATTING;
|
||||||
return false;
|
return;
|
||||||
}
|
}
|
||||||
if(!GetYamlStringSize(ctx)){
|
if(!GetYamlStringSize(ctx)){
|
||||||
fprintf(stderr,"[RSF ERROR] '%s' requires a value\n",key);
|
fprintf(stderr,"[RSF ERROR] '%s' requires a value\n",key);
|
||||||
ctx->error = YAML_BAD_FORMATTING;
|
ctx->error = YAML_BAD_FORMATTING;
|
||||||
return false;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(casecmpYamlValue("true",ctx))
|
if(casecmpYamlValue("true",ctx))
|
||||||
|
|||||||
Reference in New Issue
Block a user