visa: Fixed missing header warnings/uninitialized variable.
This commit is contained in:
parent
d1d3b7dff9
commit
dc05dd6069
|
@ -87,7 +87,7 @@ static int scpi_visa_send(void *priv, const char *command)
|
||||||
{
|
{
|
||||||
struct scpi_visa *vscpi = priv;
|
struct scpi_visa *vscpi = priv;
|
||||||
gchar *terminated_command;
|
gchar *terminated_command;
|
||||||
ViUInt32 written;
|
ViUInt32 written = 0;
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
terminated_command = g_strconcat(command, "\n", NULL);
|
terminated_command = g_strconcat(command, "\n", NULL);
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rpc/rpc.h>
|
#include <rpc/rpc.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "vxi.h"
|
#include "vxi.h"
|
||||||
#include "libsigrok.h"
|
#include "libsigrok.h"
|
||||||
#include "libsigrok-internal.h"
|
#include "libsigrok-internal.h"
|
||||||
|
|
Loading…
Reference in New Issue