Soft'N'Design Software
/
projects
/
snake.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12c3118
)
remove warning
author
Laurent Mazet
<mazet@softndesign.org>
Sun, 1 Sep 2024 09:48:54 +0000
(11:48 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Sun, 1 Sep 2024 09:48:54 +0000
(11:48 +0200)
function.c
patch
|
blob
|
blame
|
history
diff --git
a/function.c
b/function.c
index 39316be9b7f10b3c4f667ee7f1317c42bf850b77..a3e0c3706f942f13168432b4bd94ca675d161161 100644
(file)
--- a/
function.c
+++ b/
function.c
@@
-265,8
+265,6
@@
data_t *loaddata (char *str)
data_t *data = NULL;
int maxlen = width * height;
- VERBOSE (DEBUG, printf ("%d %d\n", strlen (tab), maxlen));
- VERBOSE (DEBUG, printf ("%d %d %d\n", length, strlen (xsnake), strlen (ysnake)));
if ((tab) && (strlen (tab) == (size_t)maxlen) && (length <= maxlen) &&
(xsnake) && (strlen (xsnake) == (size_t)length) &&
(ysnake) && (strlen (ysnake) == (size_t)length)) {