Commit Graph

12 Commits

Author SHA1 Message Date
Noel Grandin
ba233e87ef remove unnecessary parenthesis in return statements
found with
$ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;'

Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-02-23 09:26:58 +02:00
Stephan Bergmann
7e12a6cccb warning C4267: conversion from 'size_t' to 'int' (MSVC 64-bit)
Change-Id: I2fa40ebe467a65b0d6023883a14c79ff4303bb2f
2014-12-09 10:24:09 +01:00
Noel Grandin
0a0c70e05a mkdepend: cleanup indentation and function declarations
to make it easier to read

Change-Id: Iff0fe055c12358edc1be335ec83d0855cc32f03c
Reviewed-on: https://gerrit.libreoffice.org/9877
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-24 15:30:53 +00:00
Noel Grandin
290b7e0632 remove use of register keyword in C files
C compilers have been ignoring it for the last decade

Change-Id: I42918263121dd189bab9d27077798b779b9e8da1
Reviewed-on: https://gerrit.libreoffice.org/9873
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-24 15:30:16 +00:00
Stephan Bergmann
a15715c343 -Wstrict-prototypes
...no reason to not have it enabled for URE C include files and what
little real C code is still left.  (But note that Clang ignores that
warning.)

Change-Id: Ia6940f9f940a0c226e9b724331d65c9862ce32e6
2014-06-17 15:51:54 +02:00
Luboš Luňák
f0eb45df5e fix some lousy formatting that triggers warnings from the compiler plugin
Change-Id: I94cafba5363f24d608add6878c72f230f45fdb87
2012-10-09 17:25:29 +02:00
Caolán McNamara
fa4882b94f add modelines to .h files as well 2010-10-28 15:47:03 +01:00
Caolán McNamara
c731d6538c cmcfixes73: #i110077# silence soltools warnings 2010-03-12 13:17:18 +00:00
Rüdiger Timm
bdd7f1a32f INTEGRATION: CWS changefileheader (1.3.142); FILE MERGED
2008/04/01 09:43:43 thb 1.3.142.1: #i73081# Improve mkdepends runtime complexity by using better data structures (fix from kendy, merged from incguards01)
2008-04-10 17:04:57 +00:00
Rüdiger Timm
e9e96fbf58 #i10000# revert last change 2004-04-22 09:16:31 +00:00
Sander Vesik
93dd99175a INTEGRATION: CWS ooo20040329 (1.1.92); FILE MERGED
2004/03/17 12:33:49 waratah 1.1.92.1: #i1858# add return types to subroutines
add include file for string routines
2004-04-21 12:26:16 +00:00
Nils Fuhrmann
079f63939d Added makedepend 2001-04-18 08:11:00 +00:00