From 02ef45be75a3024df11365956e1cce6392d9103c Mon Sep 17 00:00:00 2001 From: erik Date: Mon, 29 Jan 2007 21:53:48 +0000 Subject: Each file in this commit has an issue where the initial value of a variable is assumed to be something but no initial value is given. This commit changes that by either assigning an initial value or removing the assumption on an initial value (usually the former). --- (limited to 'noncore/apps/opie-reader/plucker_base.cpp') diff --git a/noncore/apps/opie-reader/plucker_base.cpp b/noncore/apps/opie-reader/plucker_base.cpp index 849edfc..302ac73 100644 --- a/noncore/apps/opie-reader/plucker_base.cpp +++ b/noncore/apps/opie-reader/plucker_base.cpp @@ -705,7 +705,7 @@ void CPlucker_base::setSaveData(unsigned char*& data, unsigned short& len, unsig void CPlucker_base::putSaveData(unsigned char*& src, unsigned short& srclen) { - unsigned short sz; + unsigned short sz = 0; if (srclen >= sizeof(sz)) { memcpy(&sz, src, sizeof(sz)); -- cgit v0.9.0.2