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

imglib errors #26

Open
smdjeff opened this issue Feb 5, 2025 · 0 comments
Open

imglib errors #26

smdjeff opened this issue Feb 5, 2025 · 0 comments

Comments

@smdjeff
Copy link

smdjeff commented Feb 5, 2025

make: *** No rule to make target `/usr/local/bin/m6809-unknown-none-gcc-4.3.4', needed by `build/mach-strings.o'.  Stop.
jeff@imac freewpc % cat err
tools/imglib/imglib.c:505:6: warning: variable 'hist' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
        if (!buf->hist)
            ^~~~~~~~~~
tools/imglib/imglib.c:508:2: note: uninitialized use occurs here
        hist->unique = 0;
        ^~~~
tools/imglib/imglib.c:505:2: note: remove the 'if' if its condition is always true
        if (!buf->hist)
        ^~~~~~~~~~~~~~~
tools/imglib/imglib.c:499:28: note: initialize the variable 'hist' to silence this warning
        struct img_histogram *hist;
                                  ^
                                   = NULL
tools/imglib/imglib.c:671:14: warning: variable 'sentinel' is used uninitialized whenever 'for' loop exits because its condition is false [-Wsometimes-uninitialized]
        for (n = 0; n <= 0xFF; n++)
                    ^~~~~~~~~
tools/imglib/imglib.c:689:14: note: uninitialized use occurs here
        *rleptr++ = sentinel;
                    ^~~~~~~~
tools/imglib/imglib.c:671:14: note: remove the condition if it is always true
        for (n = 0; n <= 0xFF; n++)
                    ^~~~~~~~~
tools/imglib/imglib.c:665:13: note: initialize the variable 'sentinel' to silence this warning
        U8 sentinel;
                   ^
                    = '\0'
2 warnings generated.
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

No branches or pull requests

1 participant