Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actually call PyErr_Occured(), not just refer to its address #30

Open
wants to merge 1 commit into
base: 1.1
Choose a base branch
from

Commits on Nov 25, 2024

  1. Actually call PyErr_Occured(), not just refer to its address

    Found via this GCC 14.2.0 warning:
    
    mariadb/mariadb_codecs.c: In function ‘mariadb_get_parameter_info’:
    mariadb/mariadb_codecs.c:1105:37: warning: the address of ‘PyErr_Occurred’ will always evaluate as ‘true’ [-Waddress]
     1105 |             if (tmp == (uint64_t)-1 && PyErr_Occurred)
          |
    mr-c committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    0c55b0f View commit details
    Browse the repository at this point in the history