shithub: choc

Download patch

ref: d18f5fc27da373c0711b365dcfe22144faebb767
parent: 67715d6e2725322e6132e9ff99b9a2a3f3b10c83
parent: 0de17dec5d6faad38dc9bfc34c20e7f83ace0878
author: Turo Lamminen <turol@users.noreply.github.com>
date: Wed Jul 20 10:42:31 EDT 2022

Merge pull request #1482 from turol/disable-linter-fail

Disable CI linter fail fast since it's causing false positives on lines which were not changed

--- a/.github/workflows/cpp-linter.yml
+++ b/.github/workflows/cpp-linter.yml
@@ -43,4 +43,5 @@
 
       - name: Fail fast?!
         if: steps.linter.outputs.checks-failed > 0
-        run: exit 1
+        run: |
+          echo "Some files failed the linting checks! Fail fast disabled until false posivite issue is fixed"
--- a/opl/opl.c
+++ b/opl/opl.c
@@ -112,7 +112,7 @@
     int i;
     opl_init_result_t result;
 
-    for (i=0; drivers[i] != NULL; ++i)
+    for (i = 0; drivers[i] != NULL; ++i)
     {
         result = InitDriver(drivers[i], port_base);
         if (result != OPL_INIT_NONE)