summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f9427c7)
Sparse is a Semantic Parser for C, it gives these warnings on
kinect_upload_fw.c:
kinect_upload_fw.c:42:14: warning: symbol 'seq' was not declared. Should it be static?
kinect_upload_fw.c:149:26: warning: Using plain integer as NULL pointer
#include "endian.h"
static libusb_device_handle *dev;
#include "endian.h"
static libusb_device_handle *dev;
+static unsigned int seq;
typedef struct {
uint32_t magic;
typedef struct {
uint32_t magic;
- libusb_set_debug(0, 3);
+ libusb_set_debug(NULL, 3);
dev = libusb_open_device_with_vid_pid(NULL, 0x045e, 0x02ad);
if (dev == NULL) {
dev = libusb_open_device_with_vid_pid(NULL, 0x045e, 0x02ad);
if (dev == NULL) {