Skip to content

Commit

Permalink
Workflow
Browse files Browse the repository at this point in the history
- Update GitHub workflow
- `src/sql`: disable unused code
  • Loading branch information
jelu committed Apr 24, 2024
1 parent fdcaee5 commit 829291c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Packages (cpp)
if: ${{ matrix.language == 'cpp' }}
Expand All @@ -39,15 +39,15 @@ jobs:
./configure
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"
6 changes: 3 additions & 3 deletions src/sql.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -415,13 +415,13 @@ class Per_sort {
}
Tlink* p = result.m_fl[0];
it = m_table.m_rows.begin();
int cnt = 0;
// int cnt = 0;
while (p) {
*it++ = p->row;
cnt++;
// cnt++;
Tlink* e = p->get_eq();
while (e) {
cnt++;
// cnt++;
*it++ = e->row;
e = e->get_eq();
}
Expand Down

0 comments on commit 829291c

Please sign in to comment.