Mercurial > vim
view src/workshop.h @ 11422:ad4b56939140 v8.0.0595
patch 8.0.0595: Coverity warning for not checking return value
commit https://github.com/vim/vim/commit/beb9cb19c660484488a71a25eda46ab0fa579278
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 1 14:14:04 2017 +0200
patch 8.0.0595: Coverity warning for not checking return value
Problem: Coverity warning for not checking return value of dict_add().
Solution: Check the return value for FAIL.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 01 May 2017 14:15:03 +0200 |
parents | 4aead6a9b7a9 |
children |
line wrap: on
line source
/* vi:set ts=8 sts=4 sw=4 noet: * * VIM - Vi IMproved by Bram Moolenaar * Visual Workshop integration by Gordon Prieur * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ #if !defined(WORKSHOP_H) && defined(FEAT_SUN_WORKSHOP) #define WORKSHOP_H #include <X11/Intrinsic.h> #include <Xm/Xm.h> #include "integration.h" #ifdef WSDEBUG # include "wsdebug.h" #else # ifndef ASSERT # define ASSERT(c) # endif #endif extern int usingSunWorkShop; /* set if -ws flag is used */ #endif