1.
char *s = null;
if (null == s) {
s = "";
}

2.
char *s = null;
if (null == s) s = "";

前者は空文字がカッコ内でしか有効じゃないと思うんだけど、後者は有効なのかやっぱり有効じゃないか誰か教えて!