summaryrefslogtreecommitdiffstats
path: root/cli.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-11 14:48:06 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-11 14:48:06 +0200
commite4bb10c338360dbc823d04e75eab5ba304dc28de (patch)
tree34357ff4bd8022d2bd64b908b0881e425280f3bb /cli.c
parent93bb2a3a6cc5c585ff91d176d02f5edc9080b934 (diff)
downloadpcitool-e4bb10c338360dbc823d04e75eab5ba304dc28de.tar.gz
pcitool-e4bb10c338360dbc823d04e75eab5ba304dc28de.tar.bz2
pcitool-e4bb10c338360dbc823d04e75eab5ba304dc28de.tar.xz
pcitool-e4bb10c338360dbc823d04e75eab5ba304dc28de.zip
Fix compilation issues
Diffstat (limited to 'cli.c')
-rw-r--r--cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli.c b/cli.c
index 045590c..2e0765f 100644
--- a/cli.c
+++ b/cli.c
@@ -858,7 +858,7 @@ int main(int argc, char **argv) {
pcilib_model_t model = PCILIB_MODEL_DETECT;
pcilib_model_description_t *model_info;
MODE mode = MODE_INVALID;
- const char *type;
+ const char *type = NULL;
ACCESS_MODE amode = ACCESS_BAR;
const char *fpga_device = DEFAULT_FPGA_DEVICE;
pcilib_bar_t bar = PCILIB_BAR_DETECT;