diff options
author | Greg Hudson <ghudson@mit.edu> | 2023-04-03 19:39:04 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2023-04-10 13:23:05 -0400 |
commit | 7a05f6e01421d5b88391e45b6fb5c245e5844600 (patch) | |
tree | 7e9d06605d6150ead3a66aa56945566b214d6a99 /src/lib/krb5 | |
parent | 9327e92950086753f61f7e2d02bfa658e7779777 (diff) | |
download | krb5-7a05f6e01421d5b88391e45b6fb5c245e5844600.zip krb5-7a05f6e01421d5b88391e45b6fb5c245e5844600.tar.gz krb5-7a05f6e01421d5b88391e45b6fb5c245e5844600.tar.bz2 |
Fix indentation in x-deltat.y
clang 14 issues a warning for having the next line at the same
indentation level as the if body.
Diffstat (limited to 'src/lib/krb5')
-rw-r--r-- | src/lib/krb5/krb/deltat.c | 6 | ||||
-rw-r--r-- | src/lib/krb5/krb/x-deltat.y | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/krb5/krb/deltat.c b/src/lib/krb5/krb/deltat.c index 6f4acdf..59ba5b1 100644 --- a/src/lib/krb5/krb/deltat.c +++ b/src/lib/krb5/krb/deltat.c @@ -15,7 +15,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. */ + along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work @@ -1664,8 +1664,8 @@ mylex(int *intp, struct param *tmv) /* XXX assumes ASCII */ num = c - '0'; while (isdigit ((int) *P)) { - if (num > MAX_TIME / 10) - return tok_OVERFLOW; + if (num > MAX_TIME / 10) + return tok_OVERFLOW; num *= 10; if (num > MAX_TIME - (*P - '0')) return tok_OVERFLOW; diff --git a/src/lib/krb5/krb/x-deltat.y b/src/lib/krb5/krb/x-deltat.y index da11b88..34cdf96 100644 --- a/src/lib/krb5/krb/x-deltat.y +++ b/src/lib/krb5/krb/x-deltat.y @@ -207,8 +207,8 @@ mylex(int *intp, struct param *tmv) /* XXX assumes ASCII */ num = c - '0'; while (isdigit ((int) *P)) { - if (num > MAX_TIME / 10) - return tok_OVERFLOW; + if (num > MAX_TIME / 10) + return tok_OVERFLOW; num *= 10; if (num > MAX_TIME - (*P - '0')) return tok_OVERFLOW; |