[shotwell: 3/4] improved variable declaration




commit 63bbe7fe3ee98793a8880b8e57d6aca3b0863ab1
Author: Phred <fearphage gmail com>
Date:   Thu Jun 24 04:56:51 2021 -0500

    improved variable declaration

 plugins/shotwell-publishing/PhotosPublisher.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/shotwell-publishing/PhotosPublisher.vala 
b/plugins/shotwell-publishing/PhotosPublisher.vala
index d9f333a1..e1127acd 100644
--- a/plugins/shotwell-publishing/PhotosPublisher.vala
+++ b/plugins/shotwell-publishing/PhotosPublisher.vala
@@ -131,7 +131,7 @@ private class MediaCreationTransaction : Publishing.RESTSupport.GooglePublisher.
         for (var h = 0; h * MAX_BATCH_SIZE < this.upload_tokens.length; h++) {
             var offset = h * MAX_BATCH_SIZE;
             var difference = this.upload_tokens.length - offset;
-            var end;
+            int end;
 
             if (difference > MAX_BATCH_SIZE) {
                 end = offset + MAX_BATCH_SIZE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]