mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 08:56:29 +00:00

We already have an extensive suite of static analysis tools we use, which causes a fair bit of redundancy as we get duplicate warnings. PVS is also prone to give false warnings which creates a lot of work to identify and disable.
17 lines
316 B
C
17 lines
316 B
C
#include <string.h>
|
|
#include <stdlib.h>
|
|
#include "nvim/event/multiqueue.h"
|
|
#include "multiqueue.h"
|
|
|
|
|
|
void ut_multiqueue_put(MultiQueue *self, const char *str)
|
|
{
|
|
multiqueue_put(self, NULL, 1, str);
|
|
}
|
|
|
|
const char *ut_multiqueue_get(MultiQueue *self)
|
|
{
|
|
Event event = multiqueue_get(self);
|
|
return event.argv[0];
|
|
}
|