[shotwell: 2/4] added missing variable declaration




commit 7f4f30a03fbe952682090e466c887508a05a84a2
Author: Phred <fearphage gmail com>
Date:   Thu Jun 24 04:31:31 2021 -0500

    added missing variable declaration

 plugins/shotwell-publishing/PhotosPublisher.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/plugins/shotwell-publishing/PhotosPublisher.vala 
b/plugins/shotwell-publishing/PhotosPublisher.vala
index 8c4e6e7b..d9f333a1 100644
--- a/plugins/shotwell-publishing/PhotosPublisher.vala
+++ b/plugins/shotwell-publishing/PhotosPublisher.vala
@@ -131,6 +131,8 @@ 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;
+
             if (difference > MAX_BATCH_SIZE) {
                 end = offset + MAX_BATCH_SIZE;
             }


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