From f5fb514dc24c319c640fa749a1cd30fc7efef6c3 Mon Sep 17 00:00:00 2001 From: uyjulian Date: Sat, 26 Jun 2021 11:37:39 -0500 Subject: [PATCH] Remove unneeded lines --- modules/iopcore/cdvdman/scmd.c | 1 - modules/iopcore/cdvdman/searchfile.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/modules/iopcore/cdvdman/scmd.c b/modules/iopcore/cdvdman/scmd.c index dc0e9d3af..06ee101fd 100644 --- a/modules/iopcore/cdvdman/scmd.c +++ b/modules/iopcore/cdvdman/scmd.c @@ -99,7 +99,6 @@ int sceCdBreak(void) if (sync_flag) return 0; - cdvdman_stat.err = SCECdErNO; cdvdman_stat.status = SCECdStatPause; cdvdman_stat.err = SCECdErABRT; diff --git a/modules/iopcore/cdvdman/searchfile.c b/modules/iopcore/cdvdman/searchfile.c index 1a2e51f1a..4862ac789 100644 --- a/modules/iopcore/cdvdman/searchfile.c +++ b/modules/iopcore/cdvdman/searchfile.c @@ -28,8 +28,6 @@ static void cdvdman_trimspaces(char *str) if (len == 0) return; - i = len - 1; - for (i = len - 1; i != -1; i--) { p = &str[i]; if ((*p != 0x20) && (*p != 0x2e))