Skip to content

Commit

Permalink
Merge pull request #639 from ckuethe/quell_warnings
Browse files Browse the repository at this point in the history
shut up some warnings
  • Loading branch information
EricClaeys authored Oct 12, 2021
2 parents a906ce6 + e7a5c06 commit cc7cda2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
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

0 comments on commit cc7cda2

Please sign in to comment.