Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit 48dd790

Browse files
author
Christoph Wendt
committed
Merge pull request #16 from KojiNakamaru/fix/warning
fixed the warning about 'bytes'.
2 parents 729fb2d + 3c02f55 commit 48dd790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugin/HockeyAppUnityIOS/HockeyAppUnity-Scripts/HockeyAppIOS.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ protected virtual List<string> GetLogHeaders() {
157157
protected virtual WWWForm CreateForm(string log){
158158

159159
WWWForm form = new WWWForm();
160-
byte[] bytes = null;
161160

162161
#if (UNITY_IPHONE && !UNITY_EDITOR)
162+
byte[] bytes = null;
163163
using(FileStream fs = File.OpenRead(log)){
164164

165165
if (fs.Length > MAX_CHARS)

0 commit comments

Comments
 (0)