Index: uspace/app/nic/nic.c
===================================================================
--- uspace/app/nic/nic.c	(revision 63011c53bb450801d5a48366fc12de4e32a10248)
+++ uspace/app/nic/nic.c	(revision 18902ca6ace6d3f53933099d36278856f7f6ecbb)
@@ -120,4 +120,5 @@
 	if (sess == NULL) {
 		printf("Error connecting to service.\n");
+		rc = EIO;
 		goto error;
 	}
@@ -209,5 +210,5 @@
 }
 
-static const char *nic_multicast_mode_str(nic_unicast_mode_t mode)
+static const char *nic_multicast_mode_str(nic_multicast_mode_t mode)
 {
 	switch (mode) {
@@ -220,5 +221,5 @@
 }
 
-static const char *nic_broadcast_mode_str(nic_unicast_mode_t mode)
+static const char *nic_broadcast_mode_str(nic_broadcast_mode_t mode)
 {
 	switch (mode) {
Index: uspace/drv/bus/usb/ohci/hw_struct/transfer_descriptor.c
===================================================================
--- uspace/drv/bus/usb/ohci/hw_struct/transfer_descriptor.c	(revision 63011c53bb450801d5a48366fc12de4e32a10248)
+++ uspace/drv/bus/usb/ohci/hw_struct/transfer_descriptor.c	(revision 18902ca6ace6d3f53933099d36278856f7f6ecbb)
@@ -78,5 +78,5 @@
 
 	/* Allow less data on input. */
-	if (dir == USB_DIRECTION_IN) {
+	if (direction == USB_DIRECTION_IN) {
 		OHCI_MEM32_SET(instance->status, TD_STATUS_ROUND_FLAG);
 	}
Index: uspace/lib/c/arch/amd64/include/libarch/elf_linux.h
===================================================================
--- uspace/lib/c/arch/amd64/include/libarch/elf_linux.h	(revision 63011c53bb450801d5a48366fc12de4e32a10248)
+++ uspace/lib/c/arch/amd64/include/libarch/elf_linux.h	(revision 18902ca6ace6d3f53933099d36278856f7f6ecbb)
@@ -34,5 +34,5 @@
 
 #ifndef LIBC_amd64_ELF_LINUX_H_
-#define LBIC_amd64_ELF_LINUX_H_
+#define LIBC_amd64_ELF_LINUX_H_
 
 #include <libarch/istate.h>
Index: uspace/lib/c/test/odict.c
===================================================================
--- uspace/lib/c/test/odict.c	(revision 63011c53bb450801d5a48366fc12de4e32a10248)
+++ uspace/lib/c/test/odict.c	(revision 18902ca6ace6d3f53933099d36278856f7f6ecbb)
@@ -272,5 +272,4 @@
 
 		v = seq_next(v);
-		++i;
 	}
 }
Index: uspace/srv/fs/exfat/exfat_ops.c
===================================================================
--- uspace/srv/fs/exfat/exfat_ops.c	(revision 63011c53bb450801d5a48366fc12de4e32a10248)
+++ uspace/srv/fs/exfat/exfat_ops.c	(revision 18902ca6ace6d3f53933099d36278856f7f6ecbb)
@@ -595,4 +595,7 @@
 int exfat_node_put(fs_node_t *fn)
 {
+	if (fn == NULL)
+		return EOK;
+
 	exfat_node_t *nodep = EXFAT_NODE(fn);
 	bool destroy = false;
@@ -932,5 +935,5 @@
 int exfat_free_block_count(service_id_t service_id, uint64_t *count)
 {
-	fs_node_t *node;
+	fs_node_t *node = NULL;
 	exfat_node_t *bmap_node;
 	exfat_bs_t *bs;
@@ -945,5 +948,4 @@
 
 	bs = block_bb_get(service_id);
-	node = NULL;
 	rc = exfat_bitmap_get(&node, service_id);
 	if (rc != EOK)
