Re: [PATCH] setlocalversion: make tag local to try_tag()
Nicolas Schier <[email protected]>
| Newsgroups | gmane.linux.kbuild.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <ao2dXh1c4M5s7DsC@levanger> |
On Sun, Aug 23, 2026 at 05:49:13PM +0800, Yuntao Wang wrote: > The tag variable is only used by try_tag(), but is currently declared > local to scm_version() and modified by try_tag(). > > Make tag local to try_tag() instead and remove the unused declaration > from scm_version(). > > No functional changes. > > Signed-off-by: Yuntao Wang <[email protected]> > --- > scripts/setlocalversion | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > Reviewed-by: Nicolas Schier <[email protected]> -- Nicolas