mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
PVS/V1032: pointer cast to a more strictly aligned type
This commit is contained in:
@@ -1072,17 +1072,18 @@ EXTERN char_u e_cmdmap_key[] INIT(=N_(
|
||||
EXTERN char top_bot_msg[] INIT(= N_("search hit TOP, continuing at BOTTOM"));
|
||||
EXTERN char bot_top_msg[] INIT(= N_("search hit BOTTOM, continuing at TOP"));
|
||||
|
||||
/* For undo we need to know the lowest time possible. */
|
||||
// For undo we need to know the lowest time possible.
|
||||
EXTERN time_t starttime;
|
||||
|
||||
EXTERN FILE *time_fd INIT(= NULL); /* where to write startup timing */
|
||||
|
||||
/*
|
||||
* Some compilers warn for not using a return value, but in some situations we
|
||||
* can't do anything useful with the value. Assign to this variable to avoid
|
||||
* the warning.
|
||||
*/
|
||||
// Some compilers warn for not using a return value, but in some situations we
|
||||
// can't do anything useful with the value. Assign to this variable to avoid
|
||||
// the warning.
|
||||
EXTERN int vim_ignored;
|
||||
// Use this to avoid PVS warning V1032 for code like this:
|
||||
// *foo = (char_u **)"";
|
||||
EXTERN char_u *vim_emptystr INIT(= (char_u *)"");
|
||||
|
||||
// Start a msgpack-rpc channel over stdin/stdout.
|
||||
EXTERN bool embedded_mode INIT(= false);
|
||||
|
Reference in New Issue
Block a user