[iortcw] 274/497: All: Remove logically dead code from UI_GetServerStatusInfo
Simon McVittie
smcv at debian.org
Wed Sep 21 19:48:31 UTC 2016
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to annotated tag 1.42d
in repository iortcw.
commit f5e1d0ae28f982e6c09d33696170e25ef01e292a
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date: Tue Jan 13 23:11:55 2015 +0000
All: Remove logically dead code from UI_GetServerStatusInfo
---
MP/code/ui/ui_main.c | 3 ---
SP/code/ui/ui_main.c | 3 ---
2 files changed, 6 deletions(-)
diff --git a/MP/code/ui/ui_main.c b/MP/code/ui/ui_main.c
index a1309ae..d9da6b7 100644
--- a/MP/code/ui/ui_main.c
+++ b/MP/code/ui/ui_main.c
@@ -5614,9 +5614,6 @@ static int UI_GetServerStatusInfo( const char *serverAddress, serverStatusInfo_t
if ( *p == '\\' ) {
*p++ = '\0';
}
- if ( !p ) {
- break;
- }
score = p;
p = strchr( p, ' ' );
if ( !p ) {
diff --git a/SP/code/ui/ui_main.c b/SP/code/ui/ui_main.c
index f3718b1..5e9d6fc 100644
--- a/SP/code/ui/ui_main.c
+++ b/SP/code/ui/ui_main.c
@@ -5404,9 +5404,6 @@ static int UI_GetServerStatusInfo( const char *serverAddress, serverStatusInfo_t
if ( *p == '\\' ) {
*p++ = '\0';
}
- if ( !p ) {
- break;
- }
score = p;
p = strchr( p, ' ' );
if ( !p ) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git
More information about the Pkg-games-commits
mailing list