summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indi-3rdparty-2.2.1.1-unused_variables.patch96
1 files changed, 0 insertions, 96 deletions
diff --git a/indi-3rdparty-2.2.1.1-unused_variables.patch b/indi-3rdparty-2.2.1.1-unused_variables.patch
deleted file mode 100644
index 19493e0..0000000
--- a/indi-3rdparty-2.2.1.1-unused_variables.patch
+++ /dev/null
@@ -1,96 +0,0 @@
-diff -u -r indi-3rdparty-2.2.1.1/libpktriggercord/src/pktriggercord-cli.c indi-3rdparty-2.2.1.1-ing/libpktriggercord/src/pktriggercord-cli.c
---- indi-3rdparty-2.2.1.1/libpktriggercord/src/pktriggercord-cli.c 2026-04-23 21:37:33.000000000 +0000
-+++ indi-3rdparty-2.2.1.1-ing/libpktriggercord/src/pktriggercord-cli.c 2026-05-14 19:48:54.066000000 +0000
-@@ -124,7 +124,6 @@
- pslr_buffer_type imagetype;
- uint8_t buf[65536];
- uint32_t length;
-- uint32_t current;
-
- if (filefmt == USER_FILE_FORMAT_PEF) {
- imagetype = PSLR_BUF_PEF;
-@@ -142,7 +141,6 @@
-
- length = pslr_buffer_get_size(camhandle);
- DPRINT("Buffer length: %d\n", length);
-- current = 0;
-
- while (true) {
- uint32_t bytes;
-@@ -158,7 +156,6 @@
- } else if ((uint32_t)r < bytes) {
- DPRINT("write(buf): only write %zu bytes, should be %d bytes.\n", r, bytes);
- }
-- current += bytes;
- }
- pslr_buffer_close(camhandle);
- return 0;
-diff -u -r indi-3rdparty-2.2.1.1/libpktriggercord/src/pktriggercord-servermode.c indi-3rdparty-2.2.1.1-ing/libpktriggercord/src/pktriggercord-servermode.c
---- indi-3rdparty-2.2.1.1/libpktriggercord/src/pktriggercord-servermode.c 2026-04-23 21:37:33.000000000 +0000
-+++ indi-3rdparty-2.2.1.1-ing/libpktriggercord/src/pktriggercord-servermode.c 2026-05-14 19:37:56.215950378 +0000
-@@ -344,7 +344,6 @@
- imageSize = pslr_buffer_get_size(camhandle);
- sprintf(buf, "%d %d\n", 0, imageSize);
- write_socket_answer(buf);
-- uint32_t current = 0;
- while (1) {
- uint32_t bytes;
- uint8_t buf[65536];
-@@ -353,7 +352,6 @@
- break;
- }
- write_socket_answer_bin( buf, bytes);
-- current += bytes;
- }
- pslr_buffer_close(camhandle);
- }
-diff -u -r indi-3rdparty-2.2.1.1/libpktriggercord/src/pslr.c indi-3rdparty-2.2.1.1-ing/libpktriggercord/src/pslr.c
---- indi-3rdparty-2.2.1.1/libpktriggercord/src/pslr.c 2026-04-23 21:37:33.000000000 +0000
-+++ indi-3rdparty-2.2.1.1-ing/libpktriggercord/src/pslr.c 2026-05-14 19:37:56.216000000 +0000
-@@ -1002,7 +1002,6 @@
- DPRINT("[C]\tpslr_buffer_open(#%X, type=%X, res=%X)\n", bufno, buftype, bufres);
- pslr_buffer_segment_info info;
- uint16_t bufs;
-- uint32_t buf_total = 0;
- int i, j;
- int ret;
- int retry = 0;
-@@ -1063,7 +1062,6 @@
- j++;
- }
- CHECK(ipslr_next_segment(p));
-- buf_total += info.length;
- i++;
- } while (i < 9 && info.b != 2);
- p->segment_count = j;
-diff -u -r indi-3rdparty-2.2.1.1/libqsi/SimpleIni.h indi-3rdparty-2.2.1.1-ing/libqsi/SimpleIni.h
---- indi-3rdparty-2.2.1.1/libqsi/SimpleIni.h 2026-04-23 21:37:33.000000000 +0000
-+++ indi-3rdparty-2.2.1.1-ing/libqsi/SimpleIni.h 2026-05-14 19:37:56.216748395 +0000
-@@ -1809,8 +1809,7 @@
- void
- CSimpleIniTempl<SI_CHAR,SI_STRLESS,SI_CONVERTER>::GetAllSections( TNamesDepend & a_names ) const
- {
-- typename TSection::const_iterator i = m_data.begin();
-- for (int n = 0; i != m_data.end(); ++i, ++n )
-+ for (typename TSection::const_iterator i = m_data.begin(); i != m_data.end(); ++i)
- {
- a_names.push_back(i->first);
- }
-@@ -1833,13 +1832,12 @@
-
- const TKeyVal & section = iSection->second;
- const SI_CHAR * pLastKey = NULL;
-- typename TKeyVal::const_iterator iKeyVal = section.begin();
-- for (int n = 0; iKeyVal != section.end(); ++iKeyVal, ++n )
-+ for (typename TKeyVal::const_iterator i = section.begin(); i != section.end(); ++i )
- {
-- if (!pLastKey || IsLess(pLastKey, iKeyVal->first.pItem))
-+ if (!pLastKey || IsLess(pLastKey, i->first.pItem))
- {
-- a_names.push_back(iKeyVal->first);
-- pLastKey = iKeyVal->first.pItem;
-+ a_names.push_back(i->first);
-+ pLastKey = i->first.pItem;
- }
- }
- }