Fix issues found by linter
All checks were successful
CI / build-and-analyze (push) Successful in 1m6s

This commit is contained in:
2026-08-08 16:09:11 +03:00
parent aec33ef3d8
commit 2811068c9c
2 changed files with 0 additions and 2 deletions

View File

@@ -91,7 +91,6 @@ CgeNetSocket *CgeNetOpen(int domain, int type, int *result) {
int code = CGE_NET_ENOMEM; int code = CGE_NET_ENOMEM;
if ((socket = malloc(sizeof(*socket)))) { if ((socket = malloc(sizeof(*socket)))) {
code = CGE_NET_EOK;
if ((code = socketInit(socket, domain, type))) { if ((code = socketInit(socket, domain, type))) {
free(socket); free(socket);
socket = NULL; socket = NULL;

View File

@@ -90,7 +90,6 @@ CgeNetSocket *CgeNetOpen(int domain, int type, int *result) {
int code = CGE_NET_ENOMEM; int code = CGE_NET_ENOMEM;
if ((socket = malloc(sizeof(*socket)))) { if ((socket = malloc(sizeof(*socket)))) {
code = CGE_NET_EOK;
if ((code = socketInit(socket, domain, type))) { if ((code = socketInit(socket, domain, type))) {
free(socket); free(socket);
socket = NULL; socket = NULL;