b8bb43a0fc0611affa6ec2ba9696d362b5ef578e
max
  Tue Jan 28 10:17:17 2014 -0800
small changes after code review, refs #12570
diff --git src/lib/hash.c src/lib/hash.c
index 192188c..470111a 100644
--- src/lib/hash.c
+++ src/lib/hash.c
@@ -415,32 +415,32 @@
 /* Create a hash out of a list of slNames or any kind of list where the */
 /* first field is the next pointer and the second is the name. */
 {
 struct hash *hash = NULL;
 struct slName *namedList = list, *item;
 if (!list)
     return NULL;
 hash = newHash(0);
 for (item = namedList; item != NULL; item = item->next)
     hashAdd(hash, item->name, item);
 return hash;
 }
 
 struct hash *hashSetFromSlNameList(void *list)
 /* Create a hashSet (hash with only keys) out of a list of slNames or any kind
- * of list where the */
-/* first field is the next pointer and the second is the name. */
+ * of list where the first field is the next pointer and the second is the name. 
+ * Returns NULL if the list if NULL. */
 {
 struct hash *hash = NULL;
 struct slName *namedList = list, *item;
 if (!list)
     return NULL;
 hash = newHash(0);
 for (item = namedList; item != NULL; item = item->next)
     hashAdd(hash, item->name, NULL);
 return hash;
 }
 
 void hashTraverseEls(struct hash *hash, void (*func)(struct hashEl *hel))
 /* Apply func to every element of hash with hashEl as parameter. */
 {
 int i;