added gitattributes and got rid of compiler warning