Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1688007

Re: [PATCH 00/11] Drop unnecessary static

From Julia Lawall <julia.lawall@lip6.fr>
Newsgroups linux.kernel
Subject Re: [PATCH 00/11] Drop unnecessary static
Date 2017-07-15 23:10 +0200
Message-ID <u3Cu7-6t9-27@gated-at.bofh.it> (permalink)
References <u3C13-64w-3@gated-at.bofh.it> <u3C13-64w-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On Sat, 15 Jul 2017, Joe Perches wrote:

> On Sat, 2017-07-15 at 22:07 +0200, Julia Lawall wrote:
> > These patches fix cases where there is a static on a local variable, but
> > the variable is initialized before any possible use.  Thus, the static has
> > no benefit.
>
> Nice one.

Thanks.  It was suggested by Kees Cook a while ago.  There seem to be many
opportunities.

julia

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [PATCH 00/11] Drop unnecessary static Joe Perches <joe@perches.com> - 2017-07-15 22:40 +0200
  Re: [PATCH 00/11] Drop unnecessary static Julia Lawall <julia.lawall@lip6.fr> - 2017-07-15 23:10 +0200

csiph-web