commit e06ad444a2ebf4c3ef8c41c6f4fa74f358f205be from: Omar Polo date: Thu Jun 09 15:33:34 2022 UTC avoid unnecessary initialization we're just gonna memcpy all over path again a couple of lines before; a smart compiler will probably ignore the initialization anyway. commit - fd90976c2bb3674cfbf4ffd5ad0fcec51a64da18 commit + e06ad444a2ebf4c3ef8c41c6f4fa74f358f205be blob - dd9f697c5553e01f22524423e79c9641facb19ba blob + 423df70a2828ea302876b19feeb8f2b06bce90e5 --- amused.c +++ amused.c @@ -500,7 +500,7 @@ main_enqueue(int tx, struct playlist *px, struct imsge struct imsg *imsg) { size_t datalen; - char path[PATH_MAX] = { 0 }; + char path[PATH_MAX]; const char *err = NULL; datalen = IMSG_DATA_SIZE(*imsg);