From the comment, I wonder if what was intended was 

    inline bool strsame(const char* s, const char* t) { return (s == t) || (!s || !t || strcmp(s,t)==0); }  // also allow nulls