Mercurial > vim
view src/pathdef.sh @ 20103:fda7bed83eb6 v8.2.0607
patch 8.2.0607: gcc warns for using uninitialized variable
Commit: https://github.com/vim/vim/commit/2bb76accc66d17f2c027c04396082c46f410bfea
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 19 22:57:44 2020 +0200
patch 8.2.0607: gcc warns for using uninitialized variable
Problem: Gcc warns for using uninitialized variable. (John Marriott)
Solution: Set name_end also for environment variables.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 19 Apr 2020 23:00:03 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#! /bin/sh # # pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists # if test -s auto/link.sed; then cp auto/pathdef.c auto/pathdef.tmp sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c rm -f auto/pathdef.tmp fi # vim:set sw=2 et: