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

shut up some warnings #639

Merged
merged 1 commit into from
Oct 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ endif

USB=$(shell pkg-config --exists libusb-1.0 && pkg-config --cflags --libs libusb-1.0)
DEFS = -D_LIN -D_DEBUG -DGLIBC_20
CFLAGS = -Wall -Wno-psabi -g -O2 -lpthread
CFLAGS = -Wall -Wno-psabi -Wno-unused-result -g -O2 -lpthread
OPENCV = $(shell pkg-config --exists opencv && pkg-config --cflags --libs opencv || (pkg-config --exists opencv4 && pkg-config --cflags --libs opencv4))

ifeq ($(platform), armv6l)
Expand Down
3 changes: 1 addition & 2 deletions src/capture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,7 @@ void IntHandle(int i)
void waitToFix(char const *msg)
{
printf("**********\n");
printf(msg);
printf("\n");
printf("%s\n", msg);
printf("*** After fixing, ");
if (tty)
printf("restart allsky.sh.\n");
Expand Down
3 changes: 1 addition & 2 deletions src/capture_RPiHQ.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,7 @@ void IntHandle(int i)
void waitToFix(char const *msg)
{
printf("**********\n");
printf(msg);
printf("\n");
printf("%s\n", msg);
printf("*** After fixing, ");
if (tty)
printf("restart allsky.sh.\n");
Expand Down