From 9fd196717310ad8feba546c93fb87c7123b3cec9 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Mon, 29 May 2023 22:17:18 +0200 Subject: Clean up src/cherry.c --- src/cherry.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/cherry.c') diff --git a/src/cherry.c b/src/cherry.c index a689fac..88a4e0b 100644 --- a/src/cherry.c +++ b/src/cherry.c @@ -27,15 +27,6 @@ #include #include -CherryApplication *cherry_application_new(const char *name) -{ - CherryApplication *application = - (CherryApplication *) malloc(sizeof(CherryApplication)); - application->name = strdup(name); - - return application; -} - int cherry_application_run() { #if defined(WIN32) || defined(_WIN64) @@ -47,4 +38,5 @@ int cherry_application_run() return msg.wParam; #endif + return 0; } -- cgit v1.2.3