chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused variables.
[adns]
/
regress
/
hplayback.c
diff --git
a/regress/hplayback.c
b/regress/hplayback.c
index 594f7e60decc9f68c6a302bf59e77d9edf0bdeb7..d229f34f6f9680cf5d419fbb49f550ffdb5114d9 100644
(file)
--- a/
regress/hplayback.c
+++ b/
regress/hplayback.c
@@
-194,11
+194,10
@@
static int Pbytes(byte *buf, int maxlen) {
}
}
void Q_vb(void) {
}
}
void Q_vb(void) {
- int r;
const char *nl;
Tensurerecordfile();
if (!adns__vbuf_ensure(&vb2,vb.used+2)) Tnomem();
const char *nl;
Tensurerecordfile();
if (!adns__vbuf_ensure(&vb2,vb.used+2)) Tnomem();
-
r=
fread(vb2.buf,1,vb.used+2,Tinputfile);
+ fread(vb2.buf,1,vb.used+2,Tinputfile);
if (feof(Tinputfile)) {
fprintf(stderr,"adns test harness: input ends prematurely; program did:\n %.*s\n",
vb.used,vb.buf);
if (feof(Tinputfile)) {
fprintf(stderr,"adns test harness: input ends prematurely; program did:\n %.*s\n",
vb.used,vb.buf);