[Libreoffice-commits] core.git: xmerge/source
rbuj
robert.buj at gmail.com
Sun Jul 27 23:17:19 PDT 2014
xmerge/source/xmerge/java/org/openoffice/xmerge/converter/palm/PalmDocument.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7d06a0601ddccc50185ea97fddcdf2ea39299096
Author: rbuj <robert.buj at gmail.com>
Date: Sun Jul 27 12:06:37 2014 +0200
xmerge: Unused assignment
Change-Id: Ie059c6689976c0a52fedaa6fdee2dd36d944eb56
Reviewed-on: https://gerrit.libreoffice.org/10574
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
Tested-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/palm/PalmDocument.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/palm/PalmDocument.java
index d342daa..82977ea 100644
--- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/palm/PalmDocument.java
+++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/palm/PalmDocument.java
@@ -97,7 +97,7 @@ public class PalmDocument
PdbDecoder decoder = new PdbDecoder();
ByteArrayOutputStream baos = new ByteArrayOutputStream();
byte[] buf = new byte[4096];
- int n = 0;
+ int n;
while ((n = is.read(buf)) > 0) {
baos.write(buf, 0, n);
}
More information about the Libreoffice-commits
mailing list