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

Fix return value of check_linear_forms #195

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

Conversation

wegank
Copy link
Contributor

@wegank wegank commented Feb 28, 2025

I got the following warning when building msolve with LLVM Clang 19 on macOS:

libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../.. -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -maes -g -O2 -c libmsolve.c  -fno-common -DPIC -o .libs/libmsolve_la-libmsolve.o
In file included from libmsolve.c:35:
In file included from ./msolve.c:24:
./lifting.c:763:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
  763 | }
      | ^
1 warning generated.

This PR fixes the UB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant