summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--qrencode.c14
2 files changed, 5 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index 146174b9b1..0553a84520 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020.09.29 Kentaro Fukuchi <kentaro@fukuchi.org>
+ [develop]
+ * qrencode.c:
+ - Removed unused code.
+
2020.09.28 Kentaro Fukuchi <kentaro@fukuchi.org>
[hotfix]
* qrinput.c, tests/test_estimatebit.c:
diff --git a/qrencode.c b/qrencode.c
index 3ac1e9b171..948d1626ce 100644
--- a/qrencode.c
+++ b/qrencode.c
@@ -790,20 +790,6 @@ int QRcode_List_size(QRcode_List *qrlist)
return size;
}
-#if 0
-static unsigned char QRcode_parity(const char *str, int size)
-{
- unsigned char parity = 0;
- int i;
-
- for(i = 0; i < size; i++) {
- parity ^= str[i];
- }
-
- return parity;
-}
-#endif
-
QRcode_List *QRcode_encodeInputStructured(QRinput_Struct *s)
{
QRcode_List *head = NULL;