[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Remove unreachable code in prompt.c

From: Edmund Wong <ed_at_kdtc.net>
Date: Tue, 3 Nov 2009 22:28:27 +0800

Hi,

While compiling on a Windows box, I'd get the following warnings:

c:\svn\subversion\libsvn_subr\prompt.c(64): warning C4702: unreachable code
c:\svn\subversion\libsvn_subr\prompt.c(71): warning C4702: unreachable code
c:\svn\subversion\libsvn_subr\prompt.c(72): warning C4702: unreachable code
c:\svn\subversion\libsvn_subr\prompt.c(74): warning C4702: unreachable code

This patch removes the warnings.

Log as follows

[[[
 Changed the ifdef WIN32 #endif block to an #ifndef WIN32 ... #else .. #endif
block to avoid the 'unreachable code' warnings in Windows.

 * subversion\libsvn_subr\prompt.c
   wait_for_input: Changed #ifdef block to #ifndef block.

]]]

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2414122

Received on 2009-11-03 15:27:00 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.