Mercurial > vim
view src/tee/Makefile @ 27885:dd804c17e7e3 v8.2.4468
patch 8.2.4468: Coverity warns for uninitialized struct member
Commit: https://github.com/vim/vim/commit/68afde4c9b4379b757cc72112c33df9cf221eba8
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 25 20:48:26 2022 +0000
patch 8.2.4468: Coverity warns for uninitialized struct member
Problem: Coverity warns for uninitialized struct member.
Solution: Set color.index to zero.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 25 Feb 2022 22:00:03 +0100 |
parents | c2fbac867d9c |
children | ba9d53c7c509 |
line wrap: on
line source
# A very (if not the most) simplistic Makefile for MS-Windows and OS/2 CC=gcc CFLAGS=-O2 -fno-strength-reduce ifneq (sh.exe, $(SHELL)) DEL = rm -f else DEL = del endif tee.exe: tee.o $(CC) $(CFLAGS) -s -o $@ $< tee.o: tee.c $(CC) $(CFLAGS) -c $< clean: - $(DEL) tee.o - $(DEL) tee.exe