summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomek CEDRO <cederom@tlen.pl>2011-07-28 14:37:10 +0200
committerTomek CEDRO <cederom@tlen.pl>2011-07-28 14:37:10 +0200
commite6a8f9a3ef342233f0032fcba0da2d9c5ed84f45 (patch)
treead3692586d244542a35e98433352dc0b8b073917
parentccc2a76158d6af9415cf147fcaa98b58baa35263 (diff)
downloadopenocd+libswd-e6a8f9a3ef342233f0032fcba0da2d9c5ed84f45.tar.gz
openocd+libswd-e6a8f9a3ef342233f0032fcba0da2d9c5ed84f45.tar.bz2
openocd+libswd-e6a8f9a3ef342233f0032fcba0da2d9c5ed84f45.tar.xz
openocd+libswd-e6a8f9a3ef342233f0032fcba0da2d9c5ed84f45.zip
TRSPT: Null transport_list pointer atcreation.
-rw-r--r--src/transport/transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/transport.c b/src/transport/transport.c
index 32a95e4a..99d5f6a4 100644
--- a/src/transport/transport.c
+++ b/src/transport/transport.c
@@ -57,7 +57,7 @@ extern struct command_context *global_cmd_ctx;
*/
/** List of transports known to OpenOCD. */
-static struct transport *transport_list;
+static struct transport *transport_list = NULL;
/**
* NULL-terminated Vector of names of transports which the