summaryrefslogtreecommitdiff
path: root/libpcsxcore/socket.c
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-12-03 05:09:40 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-12-03 05:09:40 +0000
commitc9acd48b30eddf152325a9c0091e46d49439ae12 (patch)
treeed6b5f53b6d155549c3e666e7329520f09065845 /libpcsxcore/socket.c
parent4273fdfc90a1e1eedb1a425925a589b8e231ed64 (diff)
downloadpcsxr-c9acd48b30eddf152325a9c0091e46d49439ae12.tar.gz
Fixes for some problems found with Xcode's static analyzer. There are more, but I don't know how to approach them.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72824 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/socket.c')
-rw-r--r--libpcsxcore/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpcsxcore/socket.c b/libpcsxcore/socket.c
index 4edf7f0c..450aefd9 100644
--- a/libpcsxcore/socket.c
+++ b/libpcsxcore/socket.c
@@ -190,7 +190,7 @@ int ReadSocket(char * buffer, int len) {
}
int RawReadSocket(char * buffer, int len) {
- int r;
+ int r = 0;
int mlen = len < ptr ? len : ptr;
if (!client_socket)