attr: fix a compiler warning that family is used uninitialized (seen with -Os)