Skip to content

Commit

Permalink
remove some unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
jsorg71 committed May 28, 2024
1 parent 2bed4f6 commit 4dcf59c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions xrdp/xrdp_encoder_x264.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,8 @@ struct x264_global
void *
xrdp_encoder_x264_create(void)
{
struct x264_global *xg;

LOG_DEVEL(LOG_LEVEL_TRACE, "xrdp_encoder_x264_create:");
xg = g_new0(struct x264_global, 1);
if (xg == NULL)
{
return NULL;
}
return xg;
return g_new0(struct x264_global, 1);
}

/*****************************************************************************/
Expand Down

0 comments on commit 4dcf59c

Please sign in to comment.