{"push_id":1069360061,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"92fce9bd7a4d5732fe9db05b7ebaef4ab858e69a","before":"58484447ed8e1c64bbd73f224c8c9452a7420beb","commits":[{"sha":"92fce9bd7a4d5732fe9db05b7ebaef4ab858e69a","author":{"email":"4e6a815ae7cc9236f280335d32e44e20f0c0d9ea@tbsaunde.org","name":"Trevor Saunders"},"message":"remove pointless assignment\n\nPresumably this was supposed to be regname[sizeof (regname) - 1] but was typoed\nto regname[sizeof (rename) - 1].  However that should be unnecessary because\nsprintf should null terminate.  As is this assignment is invalid ISO C because\nrename refers to the function rename (), and sizeof on functions is undefined.\nIn GNU C C the size of functions is 1 so the expression is the same as\nregname[0].  The following call to sprintf () clearly will over right that, so\nthe statement either has no effect or is invalid.  Given that it seems safe to\njust remove it.  While we are there correct the size of regname, and switch\nfrom snprintf to sprintf since we know the exact length of the result.\n\ngas/ChangeLog:\n\n2016-04-15  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>\n\n\t* config/tc-mips.c (md_begin): Remove useless assignment.","distinct":true,"url":"https://api.github.com/repos/mickael-guene/binutils/commits/92fce9bd7a4d5732fe9db05b7ebaef4ab858e69a"}]}