mirror of
https://github.com/termux/termux-packages.git
synced 2025-10-11 09:30:47 +00:00
16 lines
477 B
Diff
16 lines
477 B
Diff
Fix `error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result]`
|
|
---
|
|
|
|
diff -uNr a/src/tclsqlite.c b/src/tclsqlite.c
|
|
--- a/src/tclsqlite.c
|
|
+++ b/src/tclsqlite.c
|
|
@@ -4114,7 +4114,7 @@
|
|
fprintf(stderr,
|
|
"attach debugger to process %d and press any key to continue.\n",
|
|
GETPID());
|
|
- fgetc(stdin);
|
|
+ (void)fgetc(stdin);
|
|
}else{
|
|
#if defined(_WIN32) || defined(WIN32)
|
|
DebugBreak();
|