mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-05 19:02:14 +02:00
Remove unnecessary strcpy and assignment
This commit is contained in:
parent
eacd10a1ec
commit
3c72170135
@ -9,10 +9,7 @@
|
||||
void errorCreate(ErrorConfig* c) {
|
||||
memset(c, 0, sizeof(ErrorConfig));
|
||||
c->custom_text = false;
|
||||
c->major_code = 2000;
|
||||
c->minor_code = 0;
|
||||
strcpy((char*) &c->short_description, "");
|
||||
strcpy((char*) &c->detailed_description, "");
|
||||
c->module = 2000;
|
||||
}
|
||||
|
||||
void errorClose(ErrorConfig* c) {
|
||||
|
Loading…
Reference in New Issue
Block a user