Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
6fc0bdc5
Commit
6fc0bdc5
authored
Jul 17, 2012
by
Michael Schubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove old error handling code
parent
ea5d2ce4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
+0
-14
src/common.h
+0
-10
src/global.h
+0
-4
No files found.
src/common.h
View file @
6fc0bdc5
...
@@ -49,15 +49,6 @@
...
@@ -49,15 +49,6 @@
#include <regex.h>
#include <regex.h>
extern
void
git___throw
(
const
char
*
,
...)
GIT_FORMAT_PRINTF
(
1
,
2
);
#define git__throw(error, ...) \
(git___throw(__VA_ARGS__), error)
extern
void
git___rethrow
(
const
char
*
,
...)
GIT_FORMAT_PRINTF
(
1
,
2
);
#define git__rethrow(error, ...) \
(git___rethrow(__VA_ARGS__), error)
#define GITERR_CHECK_ALLOC(ptr) if (ptr == NULL) { return -1; }
#define GITERR_CHECK_ALLOC(ptr) if (ptr == NULL) { return -1; }
void
giterr_set_oom
(
void
);
void
giterr_set_oom
(
void
);
...
@@ -68,5 +59,4 @@ void giterr_set_regex(const regex_t *regex, int error_code);
...
@@ -68,5 +59,4 @@ void giterr_set_regex(const regex_t *regex, int error_code);
#include "util.h"
#include "util.h"
#endif
/* INCLUDE_common_h__ */
#endif
/* INCLUDE_common_h__ */
src/global.h
View file @
6fc0bdc5
...
@@ -10,10 +10,6 @@
...
@@ -10,10 +10,6 @@
#include "mwindow.h"
#include "mwindow.h"
typedef
struct
{
typedef
struct
{
struct
{
char
last
[
1024
];
}
error
;
git_error
*
last_error
;
git_error
*
last_error
;
git_error
error_t
;
git_error
error_t
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment