cppcheck finds an unnecessary assignment.
The patch below deletes it.
Ross
Index: server_fcgi.c
===
RCS file: /cvs/src/usr.sbin/httpd/server_fcgi.c,v
retrieving revision 1.81
diff -u -p -r1.81 server_fcgi.c
--- server_fcgi.c
On 7/26/20 5:25 PM, Aisha Tammy wrote:
> On 7/26/20 5:21 PM, Aisha Tammy wrote:
>> Hi,
>> Am reviving an old thread from
>> https://marc.info/?l=openbsd-tech=152663835315469=4
>> (i did cc reyk@ sorry if it is noise)
>>
>> For some reason seems like the patch didn't go through...
>>
>> I am
Schreilechner, Dominik (2020-07-30 11:35 +):
> > From: Jason McIntyre, Mittwoch, 29. Juli 2020 14:23
> >
> > On Wed, Jul 29, 2020 at 11:37:03AM +, Schreilechner, Dominik wrote:
> > > Hi,
> > >
> > > I noticed, that the description of vgone/vgonel in the manpage does not
> > > match the \
Sat, 1 Aug 2020 20:54:28 +0100 Stuart Henderson
> I've just been building a machine with serial console to go to colo
> tomorrow and have noticed that there's no output on glass console
> after the "switching console to com0" message.
Hello Stuart and all,
This never worked for me for many
cppcheck finds a redundant condition.
The patch below deletes it.
Ross
Index: proc.c
===
RCS file: /cvs/src/usr.sbin/httpd/proc.c,v
retrieving revision 1.38
diff -u -p -r1.38 proc.c
--- proc.c 9 Sep 2018 21:06:51 -
cppcheck finds some unread assignments in httpd's config.c
The patch below deletes them and the resulting unused variables. By way of
[a bit more] context, the last of these is:
682 if (srv->srv_conf.return_uri_len != 0) {
683 if ((srv->srv_conf.return_uri =
ok
Ross L Richardson(open...@rlr.id.au) on 2020.08.02 21:52:50 +1000:
> cppcheck finds an unnecessary assignment.
>
> The patch below deletes it.
>
> Ross
>
> Index: server_fcgi.c
> ===
> RCS file:
ok
relayd has the same btw.
Ross L Richardson(open...@rlr.id.au) on 2020.08.02 21:41:33 +1000:
> cppcheck finds a redundant condition.
>
> The patch below deletes it.
>
> Ross
>
> Index: proc.c
> ===
> RCS file:
ok
Ross L Richardson(open...@rlr.id.au) on 2020.08.02 21:32:44 +1000:
> cppcheck finds some unread assignments in httpd's config.c
>
> The patch below deletes them and the resulting unused variables. By way of
> [a bit more] context, the last of these is:
>
>682if
cppcheck reports that kv_inherit(), kv_log(), and print_time() are unused.
The patch below deletes them.
Ross
--
Index: httpd.c
===
RCS file: /cvs/src/usr.sbin/httpd/httpd.c,v
retrieving revision 1.69
diff -u -p -r1.69 httpd.c
---
cppcheck reports this [and other less simple things].
Ross
Index: server_http.c
===
RCS file: /cvs/src/usr.sbin/httpd/server_http.c,v
retrieving revision 1.139
diff -u -p -r1.139 server_http.c
--- server_http.c 22 May 2020
cppcheck reports that proc_iev and proc_ispeer are unused.
Unless they are wanted for consistency with other versions of proc.c,
tbey can be removed.
Ross
Index: httpd.h
===
RCS file: /cvs/src/usr.sbin/httpd/httpd.h,v
retrieving
12 matches
Mail list logo