diff options
Diffstat (limited to 'mcs/class/System.Core/System/TimeZoneInfo.Android.cs')
-rw-r--r-- | mcs/class/System.Core/System/TimeZoneInfo.Android.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Core/System/TimeZoneInfo.Android.cs b/mcs/class/System.Core/System/TimeZoneInfo.Android.cs index a21edd6c93..aa2ae29974 100644 --- a/mcs/class/System.Core/System/TimeZoneInfo.Android.cs +++ b/mcs/class/System.Core/System/TimeZoneInfo.Android.cs @@ -346,7 +346,7 @@ namespace System { static void Fill (Stream stream, byte[] nbuf, int required) { - int read, offset = 0; + int read = 0, offset = 0; while (offset < required && (read = stream.Read (nbuf, offset, required - offset)) > 0) offset += read; if (read != required) |